style: remove 'from_string' call from 'format' args

This commit is contained in:
Daniel Eades 2022-01-04 07:22:40 +00:00 committed by Ed Page
parent 7f71d642cd
commit d6351a7cf3

View file

@ -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);
}