Replies: 1 comment 8 replies
|
Hi Thomas! Lisette has no ownership semantics. The lint you hit fires inside a compound expression, when one part takes let mut n = 1
let pair = (inc(&n), n)In your case, the lint is a false positive because |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have following code
and get following error
which I do not understand. Does it now use some kind of ownership/borrow semantics?
All reactions