"Elegant Library APIs in "
Now this is an interesting guide!
(I learned about the `impl Into<Option<T>>` which looks very useful!)
deterministic.space/elegant-ap

Follow

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 code more cleaner/ergonomic!

Β· Β· 0 Β· 0 Β· 1
Sign in to participate in the conversation
⛧ MOYTURA ⛧

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!