From ee6a7c2bbbeedae5c534c0a5a8058a14ae739495 Mon Sep 17 00:00:00 2001 From: "ethever.eth" <3142362556@qq.com> Date: Thu, 31 Aug 2023 02:14:26 +0800 Subject: [PATCH] fix a small typo (#2165) Co-authored-by: famouscat --- src/reader/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader/mod.rs b/src/reader/mod.rs index e13354b7b2..fe76bd3a9a 100644 --- a/src/reader/mod.rs +++ b/src/reader/mod.rs @@ -191,7 +191,7 @@ impl InnerIndexReader { } /// Opens the freshest segments [`SegmentReader`]. /// - /// This function acquires a lot to prevent GC from removing files + /// This function acquires a lock to prevent GC from removing files /// as we are opening our index. fn open_segment_readers(index: &Index) -> crate::Result> { // Prevents segment files from getting deleted while we are in the process of opening them