We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mutating
inout
1 parent f9b06b7 commit 84521caCopy full SHA for 84521ca
proposals/NNNN-lifetime-dependency.md
@@ -204,7 +204,7 @@ We only permit
204
* A `borrow(self)` lifetime dependency with a `borrowing` mutation-modifier
205
* A `mutate(self)` lifetime dependency with a `mutating` mutation-modifier
206
* A `consume(self)` lifetime dependency with a `consuming` mutation-modifier
207
-* A `copy(self)` lifetime dependency with a `borrowing` or `inout` mutation-modifier
+* A `copy(self)` lifetime dependency with a `borrowing` or `mutating` mutation-modifier
208
209
The rules above apply regardless of whether the parameter-convention or mutation-modifier is explicitly written or is implicit.
210
0 commit comments