std::convert::identity is one of my fave parts of stdlib. Too small to be a crate. Used often enough to make it into std. https://doc.rust-lang.org/std/convert/fn.identity.html …
Heh, yeah for sure. Feels similar to smth like dbg!() / todo!(); small, useful, and great to have available in just a few keystrokes.
-
-
Oh yeah; that's really the reason why I proposed `dbg!(x)` for the standard library... but no one used the crate on http://crates.io ... ^^
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.