File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3538,9 +3538,8 @@ restriction:
3538
3538
3539
3539
1 . If the borrow is immutable, you may read the data the pointer points to.
3540
3540
2 . If the borrow is mutable, you may read and write the data the pointer points to.
3541
- 3 . You may lend the pointer to someone else in an immutable fashion, ** BUT**
3542
- 4 . When you do so, they must return it to you before you must give your own
3543
- borrow back.
3541
+ 3 . You may lend the pointer to someone else, ** BUT**
3542
+ 4 . When you do so, they must return it before you can give your own borrow back.
3544
3543
3545
3544
This last requirement can seem odd, but it also makes sense. If you have to
3546
3545
return something, and you've lent it to someone, they need to give it back to
You can’t perform that action at this time.
0 commit comments