Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Fiddaman <andy@omnios.org>
  • Loading branch information
joboet and citrus-it authored Jan 23, 2024
1 parent 80f8285 commit 64ce665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/locks/pthread_mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl Mutex {
// the lock call to never fail. Unfortunately however, some platforms
// (Solaris) do not conform to the standard, and instead always provide
// deadlock detection. How kind of them! Unfortunately that means that
// we need to check the error code here. To save use from UB on other
// we need to check the error code here. To save us from UB on other
// less well-behaved platforms in the future, we do it even on "good"
// platforms like macOS. See #120147 for more context.
if r != 0 {
Expand Down

0 comments on commit 64ce665

Please sign in to comment.