The code samples are from the RosettaCode[1]. They are probably lacking a frequent contributor for making and fixing Rust code examples.
Re:A Quick Comparison of Nim vs. Rust
by steveklabnik on Wednesday January 14, 2015 @09:21AM
(#8886349)
There's a repository where Rust versions are being worked on: https://github.com/Hoverbear/rust-rosetta
For example `from_str::<int>` should be `.parse()` today.