miniblog.
← Back to all posts
Wilfred Hughes
Feb 13, 2022 at 19:55
My Rust rule of thumb: if there are no lifetimes in your return type, you probably don't need to specify the lifetimes in your arguments. (I know clippy will point out simple cases of unnecessary lifetimes, but plenty other cases occur IME.)