Skip to content

Commit

Permalink
Merge pull request #26 from Andrew15-5/fix-docs-typo
Browse files Browse the repository at this point in the history
Fixed docs typo
  • Loading branch information
al8n authored Aug 19, 2024
2 parents 32f43f1 + a4c553c commit a96c0e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/file_ext/async_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ macro_rules! async_file_ext {
/// locked.
fn lock_exclusive(&self) -> Result<()>;

/// Locks the file for shared usage, or returns a an error if the file is
/// Locks the file for shared usage, or returns an error if the file is
/// 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 an error if the file is
/// currently locked (see `lock_contended_error`).
fn try_lock_exclusive(&self) -> Result<()>;

Expand Down
2 changes: 1 addition & 1 deletion src/file_ext/sync_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro_rules! file_ext {
/// currently locked (see `lock_contended_error`).
fn try_lock_shared(&self) -> Result<()>;

/// Locks the file for shared usage, or returns an error if the file is
/// Locks the file for exclusive usage, or returns an error if the file is
/// currently locked (see `lock_contended_error`).
fn try_lock_exclusive(&self) -> Result<()>;

Expand Down

0 comments on commit a96c0e4

Please sign in to comment.