.into(), .try_into(), .from(), .parse(), `as`, and all the traits backing these. There's quite some ground to cover when learning about Rust type conversions.
I'm actually thinking about the inverse: what if it became standard to implement `TryFrom`, and almost everybody would start doing conversions with `.try_into()?`. Clippy could then add a lint that says: "saw you used .try_into(), but regular .into() is available and preferred."
-
-
With perhaps cargo fix / RLS adding an auto-fix path on top of this. Might make all of these methods a bit more straight forward, haha.
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.
