Skip to content

Commit 0c71b72

Browse files
committed
Review feedback from lorentey
1 parent fe05797 commit 0c71b72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proposals/NNNN-non-escapable.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This complements the `~Copyable` types added with SE-0390 by introducing another
1616

1717
In addition, these types will support lifetime-dependency constraints (being tracked in a future proposal), that allow them to safely hold pointers referring to data stored in other types.
1818

19-
This feature is a key requirement for the proposed `Span` type.
19+
This feature is a key requirement for the proposed `Span` family of types.
2020

2121
**See Also**
2222

@@ -58,7 +58,7 @@ A separate proposal will show how we can further improve safety by allowing libr
5858
These "lifetime dependency" constraints can also be verified at compile time to ensure that the source of the iterator is not modified and that the iterator specifically does not outlive its source.
5959

6060
**Note**: We are using iterators here to illustrate the issues we are considering.
61-
We are not at this time proposing any changes to Swift's current `IteratorProtocol` construct.
61+
We are not at this time proposing any changes to Swift's current `IteratorProtocol` protocol.
6262

6363
## Detailed design
6464

@@ -280,9 +280,9 @@ Retrofitting existing generic types so they can support both escapable and nones
280280

281281
## Future directions
282282

283-
#### `Span` type
283+
#### `Span` family of types
284284

285-
This proposal is being driven in large part by the needs of the `Span` type that has been discussed elsewhere.
285+
This proposal is being driven in large part by the needs of the `Span` types that have been discussed elsewhere.
286286
Briefly, this type would provide an efficient universal “view” of array-like data stored in contiguous memory.
287287
Since values of this type do not own any data but only refer to data stored elsewhere, their lifetime must be limited to not exceed that of the owning storage.
288288
We expect to publish a sample implementation and proposal for that type very soon.

0 commit comments

Comments
 (0)