Skip to content

Commit 84521ca

Browse files
committed
methods are mutating, not inout
1 parent f9b06b7 commit 84521ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/NNNN-lifetime-dependency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ We only permit
204204
* A `borrow(self)` lifetime dependency with a `borrowing` mutation-modifier
205205
* A `mutate(self)` lifetime dependency with a `mutating` mutation-modifier
206206
* A `consume(self)` lifetime dependency with a `consuming` mutation-modifier
207-
* A `copy(self)` lifetime dependency with a `borrowing` or `inout` mutation-modifier
207+
* A `copy(self)` lifetime dependency with a `borrowing` or `mutating` mutation-modifier
208208

209209
The rules above apply regardless of whether the parameter-convention or mutation-modifier is explicitly written or is implicit.
210210

0 commit comments

Comments
 (0)