Skip to content

Commit b3a4901

Browse files
authored
chore: upgrade Rust 1.88.0 (#1077)
1 parent c347654 commit b3a4901

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.87.0"
2+
channel = "1.88.0"
33
profile = "default"

src/avif.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ pub enum AvifError {
183183
impl std::fmt::Display for AvifError {
184184
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
185185
match self {
186-
AvifError::Known(code) => write!(f, "AvifError: {:?}", code),
187-
AvifError::Unknown(code) => write!(f, "AvifError: {}", code),
186+
AvifError::Known(code) => write!(f, "AvifError: {code:?}"),
187+
AvifError::Unknown(code) => write!(f, "AvifError: {code}"),
188188
}
189189
}
190190
}

src/image.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ impl Task for BitmapDecoder {
370370
Err(io_err) => {
371371
return Err(Error::new(
372372
Status::GenericFailure,
373-
format!("Failed to read {}: {io_err}", path_or_svg),
373+
format!("Failed to read {path_or_svg}: {io_err}"),
374374
));
375375
}
376376
}

0 commit comments

Comments
 (0)