diff --git a/src/lib.rs b/src/lib.rs index 51b22db6..ca688734 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,7 +85,7 @@ pub trait FileExt { /// currently locked (see `lock_contended_error`). fn try_lock_shared(&self) -> Result<()>; - /// Locks the file for shared usage, or returns a an error if the file is + /// Locks the file for exclusive usage, or returns a an error if the file is /// currently locked (see `lock_contended_error`). fn try_lock_exclusive(&self) -> Result<()>;