fix: must_use

This commit is contained in:
houseme
2025-05-30 15:11:51 +08:00
parent 004b6945f2
commit 7f983e72e7
4 changed files with 3 additions and 1 deletions
-1
View File
@@ -1195,7 +1195,6 @@ impl DiskAPI for LocalDisk {
}
#[tracing::instrument(skip(self))]
#[must_use]
async fn read_all(&self, volume: &str, path: &str) -> Result<Vec<u8>> {
if volume == RUSTFS_META_BUCKET && path == super::FORMAT_CONFIG_FILE {
let format_info = self.format_info.read().await;