diff --git a/src/mito2/src/cache/file_cache.rs b/src/mito2/src/cache/file_cache.rs index a0beb83bcb1d..843cb63eaa2e 100644 --- a/src/mito2/src/cache/file_cache.rs +++ b/src/mito2/src/cache/file_cache.rs @@ -96,9 +96,9 @@ impl FileCache { } } - /// Puts a file into the cache. + /// Puts a file into the cache index. /// - /// Callers should ensure the file is in the correct path. + /// The `WriteCache` should ensure the file is in the correct path. pub(crate) async fn put(&self, key: IndexKey, value: IndexValue) { CACHE_BYTES .with_label_values(&[FILE_TYPE])