Skip to content

Commit 704fdc6

Browse files
nsajkovtjnash
andauthored
NEWS entry for deletion of length(::Stateful) (#55858)
Will update History.md on master if this gets merged. xref #47790 xref #51747 xref #54953 --------- Co-authored-by: Jameson Nash <[email protected]>
1 parent 0e17bd7 commit 704fdc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ Standard library changes
134134
writes 4 bytes for each character, instead of writing the UTF-8 representation of each character.
135135
The new format is compatible with that used by `Array`, making it possible to use `read!` to get
136136
the data back ([#42593]).
137+
* It's not possible to define `length` for stateful iterators in a generally consistent manner. The
138+
potential for silently incorrect results for `Stateful` iterators is addressed by deleting the
139+
`length(::Stateful)` method. The last type parameter of `Stateful` is gone, too. Issue: ([#47790]),
140+
PR: ([#51747]).
137141

138142
#### StyledStrings
139143

0 commit comments

Comments
 (0)