mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
style: remove 'from_string' call from 'format' args
This commit is contained in:
parent
7f71d642cd
commit
d6351a7cf3
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ fn help_text() {
|
|||
assert!(res.is_err());
|
||||
let err = res.unwrap_err();
|
||||
assert_eq!(err.kind, ErrorKind::DisplayHelp);
|
||||
println!("{}", err.to_string());
|
||||
println!("{}", err);
|
||||
assert_eq!(err.to_string(), HELP);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue