Get a feel for borrow-returning methods
Here we look at how borrow-returning methods work. Our examples will consider a typical pattern:
#![allow(unused)] fn main() { fn method(&mut self) -> &SomeReturnType {} }
Here we look at how borrow-returning methods work. Our examples will consider a typical pattern:
#![allow(unused)] fn main() { fn method(&mut self) -> &SomeReturnType {} }