Brett Rowberry
Husband, dad, manager, functional programmer, and DIYer
The implementations of take_ownership and give_it_back are the same. Is that intentional?
Much better than me sharing my own notes, which you can barely follow. Thanks for this guide.
Hashnode prompted me to make this comment. Very accessible! It wasn't clear to me why
?is needed here:fn main() { let result = divide(10, 2)?; println!("The result is {}", result); }What happens without it?