Skip to content

Commit 9ddbf79

Browse files
committed
fix clippy
1 parent e881f83 commit 9ddbf79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/iceberg/src/io/storage_gcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl OpenDALGcsStorage {
132132
} else {
133133
Err(Error::new(
134134
ErrorKind::DataInvalid,
135-
format!("Invalid gcs url: {}, should start with {}", path, prefix),
135+
format!("Invalid gcs url: {path}, should start with {prefix}"),
136136
))
137137
}
138138
}

crates/iceberg/src/io/storage_oss.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl OpenDALOssStorage {
9292
} else {
9393
Err(Error::new(
9494
ErrorKind::DataInvalid,
95-
format!("Invalid oss url: {}, should start with {}", path, prefix),
95+
format!("Invalid oss url: {path}, should start with {prefix}"),
9696
))
9797
}
9898
}

crates/iceberg/src/io/storage_s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ impl OpenDALS3Storage {
259259
} else {
260260
Err(Error::new(
261261
ErrorKind::DataInvalid,
262-
format!("Invalid s3 url: {}, should start with {}", path, prefix),
262+
format!("Invalid s3 url: {path}, should start with {prefix}"),
263263
))
264264
}
265265
}

0 commit comments

Comments
 (0)