Fix: Clippy lint 'uninlined_format_args'
This commit is contained in:
parent
e6092e81a4
commit
42b1bfe66d
25 changed files with 47 additions and 54 deletions
|
|
@ -107,10 +107,10 @@ pub enum Data {
|
|||
impl std::fmt::Debug for Data {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
Data::Path(path) => write!(f, "Path({:?})", path),
|
||||
Data::Path(path) => write!(f, "Path({path:?})"),
|
||||
Data::Bytes(_) => write!(f, "Bytes(...)"),
|
||||
Data::Rgba { width, height, .. } => {
|
||||
write!(f, "Pixels({} * {})", width, height)
|
||||
write!(f, "Pixels({width} * {height})")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue