indexedlog: fix a typo in comment

Summary: Saw this when reading related code.

Reviewed By: kulshrax

Differential Revision: D30783665

fbshipit-source-id: f9b598b9301619346972bd0abf893f089d902022
This commit is contained in:
Jun Wu 2021-09-07 14:04:41 -07:00 committed by Facebook GitHub Bot
parent 5704ad51f6
commit eaafe1f723

View File

@ -693,7 +693,7 @@ impl Log {
/// of `lag_threshold`.
///
/// This is used internally by [`RotateLog`] to make sure a [`Log`] has
/// complate indexes before rotating.
/// complete indexes before rotating.
pub(crate) fn finalize_indexes(&mut self, _lock: &ScopedDirLock) -> crate::Result<()> {
let result: crate::Result<_> = (|| {
let dir = self.dir.clone();