Skip to content

Commit 64ce665

Browse files
joboetcitrus-it
andauthored
fix typo
Co-authored-by: Andy Fiddaman <andy@omnios.org>
1 parent 80f8285 commit 64ce665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/std/src/sys/pal/unix/locks/pthread_mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl Mutex {
116116
// the lock call to never fail. Unfortunately however, some platforms
117117
// (Solaris) do not conform to the standard, and instead always provide
118118
// deadlock detection. How kind of them! Unfortunately that means that
119-
// we need to check the error code here. To save use from UB on other
119+
// we need to check the error code here. To save us from UB on other
120120
// less well-behaved platforms in the future, we do it even on "good"
121121
// platforms like macOS. See #120147 for more context.
122122
if r != 0 {

0 commit comments

Comments
 (0)