artydev Posted on Jul 29 • Edited on Jul 29 Reminder on 'borrowing' and 'moving' in Rust #rust Juste a reminder: Just aanother note: Assignment (let y = x) moves ownership by default, unless the type implements the Copy trait, in which case the value is copied instead. Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)