Skip to content

Commit 7c44259

Browse files
committed
Proposal edits
1 parent 882598a commit 7c44259

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

proposals/nnnn-outputspan.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
[SE-0456]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0456-stdlib-span-properties.md
1414
[SE-0467]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0467-MutableSpan.md
1515
[PR-LifetimeAnnotations]: https://github.com/swiftlang/swift-evolution/pull/2750
16+
[Forum-LifetimeAnnotations]: https://forums.swift.org/t/78638
1617
[SE-0453]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0453-vector.md
1718

1819
## Introduction
@@ -56,9 +57,9 @@ We will also extend `String` and `InlineArray` in a similar manner.
5657

5758
#### `@lifetime` attribute
5859

59-
Some of the API presented here must establish a lifetime relationship between a non-escapable returned value and a callee binding. This relationship will be illustrated using the `@lifetime` attribute pitched in [PR-LifetimeAnnotations]. For the purposes of this proposal, the lifetime attribute ties the lifetime of a function's return value to one of its input parameters.
60+
Some of the API presented here must establish a lifetime relationship between a non-escapable returned value and a callee binding. This relationship will be illustrated using the `@lifetime` attribute recently [pitched][PR-LifetimeAnnotations] and [formalized][Forum-LifetimeAnnotations]. For the purposes of this proposal, the lifetime attribute ties the lifetime of a function's return value to one of its input parameters.
6061

61-
Note: The `@lifetime` attribute is not final. The eventual lifetime annotations proposal may or may not adopt this syntax. We expect that, as soon as Swift adopts a syntax do describe lifetime dependencies, the Standard Library will be modified to adopt that new syntax.
62+
Note: The eventual lifetime annotations proposal may adopt a syntax different than the syntax used here. We expect that the Standard Library will be modified to adopt an updated lifetime dependency syntax as soon as it is finalized.
6263

6364
## Detailed Design
6465

@@ -434,7 +435,7 @@ extension OutputRawSpan {
434435

435436
##### Interoperability with unsafe code
436437

437-
We provide a method to process or populate an `OutputRawSpan` using unsafe operations, which can also be used for out-of-order initialization.
438+
We provide a method to process or populate an `OutputRawSpan` using unsafe operations, which can also be used for out-of-order initialization.
438439

439440
```swift
440441
extension OutputRawSpan {

0 commit comments

Comments
 (0)