Skip to content

Commit a6ffe27

Browse files
committed
clean(playmatch): fix clippy issues
1 parent 9542671 commit a6ffe27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/command/playmatch.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,19 @@ pub async fn get_game_metadata(
138138
out.push_str(&format!("Size: `{:.2} MB`", size as f64 / 1024.0 / 1024.0));
139139
}
140140
if let Some(serial) = &file.serial {
141-
out.push_str(&format!("\nSerial: `{}`", serial));
141+
out.push_str(&format!("\nSerial: `{serial}`"));
142142
}
143143
if let Some(crc) = &file.crc {
144-
out.push_str(&format!("\nCRC32: `{}`", crc));
144+
out.push_str(&format!("\nCRC32: `{crc}`"));
145145
}
146146
if let Some(md5) = &file.md5 {
147-
out.push_str(&format!("\nMD5: `{}`", md5));
147+
out.push_str(&format!("\nMD5: `{md5}`"));
148148
}
149149
if let Some(sha1) = &file.sha1 {
150-
out.push_str(&format!("\nSHA1: `{}`", sha1));
150+
out.push_str(&format!("\nSHA1: `{sha1}`"));
151151
}
152152
if let Some(sha256) = &file.sha256 {
153-
out.push_str(&format!("\nSHA256: `{}`", sha256));
153+
out.push_str(&format!("\nSHA256: `{sha256}`"));
154154
}
155155
out
156156
})

0 commit comments

Comments
 (0)