Quiz · 4 questions
🤝 Borrowing — Use Without Owning
References, &mut, and the borrow checker
Level 0Rust Curious
0 XP0/80 lessons0/19 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01What does a reference (
&value) give you?02What is the 'aliasing XOR mutation' rule?
03Under non-lexical lifetimes (NLL), when does a borrow end?
04Why can't a function return a reference to a value it created locally?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.