"Elegant Library APIs in #Rust"Now this is an interesting guide!(I learned about the `impl Into<Option<T>>` which looks very useful!)https://deterministic.space/elegant-apis-in-rust.html
I have also learned about `impl Into<Cow<_>>` to accept a `&T` and `T`. Which, in retrospect, should have been obvious to me, but I just didn't put 2 and 2 together.It should make my #rust code more cleaner/ergonomic!
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!