6

I can't seem to dig up anything on the official docs. I can see that there are multiple old ways of doing this (int::parse_bytes and f32::from_string) but both of these are deprecated. What is the way this is performed in 1.0?

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
Valarauca
  • 1,041
  • 3
  • 10
  • 23

1 Answers1

13
 &str.parse::< "type" >().unwrap() -> "type"
Valarauca
  • 1,041
  • 3
  • 10
  • 23