Closed
Description
In chapter 13.3, in listing 13-26 and 13-27 the new
function declaration is:
pub fn new(mut args: std::env::Args) -> Result<Config, &'static str>
Isn't the use of std::
here too much? Is it idiomatic to write that type out fully even though we already have use std::env;
in the same source file and could use env::Args
?