Clippy fixes for Rust 1.58 (#733)

* Clippy fixes for Rust 1.58

* Try different message
This commit is contained in:
JT
2022-01-14 06:40:25 +11:00
committed by GitHub
parent 1ecbebb24a
commit bc1e1aa944
11 changed files with 11 additions and 19 deletions

View File

@ -44,7 +44,7 @@ impl Display for Type {
"record<{}>",
fields
.iter()
.map(|(x, y)| format!("{}: {}", x, y.to_string()))
.map(|(x, y)| format!("{}: {}", x, y))
.collect::<Vec<String>>()
.join(", "),
),