Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)


What links here:

Rust

If a function operates on references, accept <T: Borrow>. If it operates on owned data, accept <T: ToOwned>.

If accepting a generic type which is behind a pointer (fn func<T>(t: &T)), almost always relax the bound to ?Sized. Makes it more flexible, and the pointer will always be sized anyway.

Feature names overlap with dependency names!

To check why a feature is enabled in crates: cargo tree --edges Tools: