« Back to home

Rust Number Conversion - Don't Follow the Book...

Posted on

I’m pretty new to Rust. I’ve done a year of adventofcode, a medium-sized API server project, and not a lot more. Refactoring some code in my project recently, I got rid of some of my explicit string conversions and let the type inference system and From/Into do their jobs. Now that I’m more comfortable with seeing code like that I think it’s actually simpler - I can trust what it’s doing.…

Read more »