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.)
miniblog.
Related Posts
One advantage I've come to appreciate about Dash/Zeal docsets: it's really nice having focused search.
The text search is constrained to the languages I care about enough to download the docset, substantially increasing the relevance. In Google I'd need to specify the language.
TIL that nasm does optimisation!
It will convert `mov rax, 1` to `mov eax, 1` unless you specify -O0.
Handy, but surprised me when tinkering with some machine code.
Introducing Zod, and design tradeoffs of typescript libraries that let you specify and validate types: https://vriad.com/blog/zod/