Make unstable clippy happy with clippy --fix (#402)

Most of changes either move variables into `format!` templates
or remove excessive clones.
This commit is contained in:
Ivan Boldyrev
2022-12-12 22:37:05 +07:00
committed by GitHub
parent e5837e9171
commit 004ce10abd
62 changed files with 256 additions and 302 deletions

View File

@ -121,7 +121,7 @@ mod tests {
#[test]
fn test_parse_garbage0() {
let res = ServiceDefinition::from_str("garbage");
assert!(res.is_err(), "{:?}", res);
assert!(res.is_err(), "{}", "{res:?}");
}
#[test]