3 Checks for function invocations of the form `primitive::from_str_radix(s, 10)`
7 This specific common use case can be rewritten as `s.parse::<primitive>()`
8 (and in most cases, the turbofish can be removed), which reduces code length
13 This lint may suggest using (&<expression>).parse() instead of <expression>.parse() directly
14 in some cases, which is correct but adds unnecessary complexity to the code.
18 let input: &str = get_input();
19 let num = u16::from_str_radix(input, 10)?;
23 let input: &str = get_input();
24 let num: u16 = input.parse()?;