Skip to content

Commit

Permalink
Auto merge of rust-lang#5748 - carols10cents:tiny-docs-fix, r=flip1995
Browse files Browse the repository at this point in the history
Change a noun to a verb to make the sentence complete

changelog: Fixed some grammar in the documentation for `await_holding_lock`.

Just a tiny little thing I found while using clippy <3
  • Loading branch information
bors committed Jun 25, 2020
2 parents 46d3304 + fa0f1d3 commit 88fec89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/await_holding_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ declare_clippy_lint! {
/// non-async-aware MutexGuard.
///
/// **Why is this bad?** The Mutex types found in syd::sync and parking_lot
/// are not designed to operator in an async context across await points.
/// are not designed to operate in an async context across await points.
///
/// There are two potential solutions. One is to use an asynx-aware Mutex
/// type. Many asynchronous foundation crates provide such a Mutex type. The
Expand Down

0 comments on commit 88fec89

Please sign in to comment.