October 2019
Intermediate to advanced
444 pages
10h 37m
English
Understanding shared ownership only requires eight steps:
/// /// A length function that takes ownership of the input /// variable /// fn length(s: String) -> usize { s.len() }
While unnecessary, the function requires that you pass your owned variable to the scope.
Read now
Unlock full access