about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2022-07-20 16:11:31 +0200
committerjoboet <jonasboettiger@icloud.com>2022-07-20 16:11:31 +0200
commitc72a77e093556e0f1e600686adb8de4419fff4c9 (patch)
treecedf8e950d3e36fa3a6c2e225233a71011115c44
parentf3579268372723bc4ff7b76090c090aa7b9e6a3a (diff)
downloadrust-c72a77e093556e0f1e600686adb8de4419fff4c9.tar.gz
rust-c72a77e093556e0f1e600686adb8de4419fff4c9.zip
owner is not micro (correct typo)
-rw-r--r--library/std/src/sys/unix/locks/fuchsia_mutex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/locks/fuchsia_mutex.rs b/library/std/src/sys/unix/locks/fuchsia_mutex.rs
index 7372406b32f..fd3e9d1768b 100644
--- a/library/std/src/sys/unix/locks/fuchsia_mutex.rs
+++ b/library/std/src/sys/unix/locks/fuchsia_mutex.rs
@@ -129,7 +129,7 @@ impl Mutex {
                         ZX_ERR_INVALID_ARGS | ZX_ERR_BAD_HANDLE | ZX_ERR_WRONG_TYPE => {
                             panic!(
                                 "either the current thread is trying to lock a mutex it has
-                                already locked, or the previous uowner did not unlock the mutex
+                                already locked, or the previous owner did not unlock the mutex
                                 before exiting"
                             )
                         }