Fix type errors in ecfs.rs and apply clippy fixes for Rust 1.92.0 (#1121)

This commit is contained in:
houseme
2025-12-12 00:49:21 +08:00
committed by GitHub
parent cb3e496b17
commit 9e2fa148ee
5 changed files with 18 additions and 17 deletions
+1
View File
@@ -1651,6 +1651,7 @@ pub fn get_concurrency_manager() -> &'static ConcurrencyManager {
}
/// Testing helper to reset the global request counter.
#[allow(dead_code)]
pub(crate) fn reset_active_get_requests() {
ACTIVE_GET_REQUESTS.store(0, Ordering::Relaxed);
}
+1 -1
View File
@@ -2460,7 +2460,7 @@ impl S3 for FS {
.clone()
.or_else(|| metadata_map.get("x-amz-storage-class").cloned())
.filter(|s| !s.is_empty())
.map(ObjectStorageClass::from);
.map(StorageClass::from);
let mut checksum_crc32 = None;
let mut checksum_crc32c = None;