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 @@ -3537,9 +3537,8 @@ restriction:
35373537
353835381 . If the borrow is immutable, you may read the data the pointer points to.
353935392 . If the borrow is mutable, you may read and write the data the pointer points to.
3540- 3 . You may lend the pointer to someone else in an immutable fashion, ** BUT**
3541- 4 . When you do so, they must return it to you before you must give your own
3542- borrow back.
3540+ 3 . You may lend the pointer to someone else, ** BUT**
3541+ 4 . When you do so, they must return it before you can give your own borrow back.
35433542
35443543This last requirement can seem odd, but it also makes sense. If you have to
35453544return 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