stris(1): use String::default instead of String::new
This commit is contained in:
parent
72c3ac5df0
commit
f9c84179fe
@ -43,7 +43,7 @@ fn main() -> ExitCode {
|
||||
let mut optind = 1;
|
||||
let mut reqs = Reqs {
|
||||
ascii: false, blank: false, cntrl: false, digit: false, lower: false,
|
||||
upper: false, inuse: false, extra: String::new()
|
||||
upper: false, inuse: false, extra: String::default()
|
||||
};
|
||||
|
||||
while let Some(opt) = argv.getopt("7bcdi:lu") {
|
||||
|
Loading…
Reference in New Issue
Block a user