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:
35383538
353935391 . If the borrow is immutable, you may read the data the pointer points to.
354035402 . 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.
35443543
35453544This last requirement can seem odd, but it also makes sense. If you have to
35463545return 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