summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2021-08-10 21:20:10 +0300
committerAlexander Batischev <eual.jp@gmail.com>2021-08-10 21:20:10 +0300
commit9b2808c4ea796f8767015611bdf92f6ee6bc047f (patch)
treee50942b42303a8c4811b004ee129e0ea1e8ef151
parent3af2448130c80902449704c3fc4799fb9e52af7a (diff)
downloadrust-libc-9b2808c4ea796f8767015611bdf92f6ee6bc047f.tar.gz
Fix a couple typos in the Apple module
Found them while doing reviews for cargo-crev.
-rw-r--r--src/unix/bsd/apple/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs
index 763cbb3b12..bf422c2046 100644
--- a/src/unix/bsd/apple/mod.rs
+++ b/src/unix/bsd/apple/mod.rs
@@ -1587,7 +1587,7 @@ cfg_if! {
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
f.debug_struct("time_value_t")
.field("seconds", &self.seconds)
- .field("microseconds", &self.seconds)
+ .field("microseconds", &self.microseconds)
.finish()
}
}
@@ -1699,7 +1699,7 @@ cfg_if! {
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
f.debug_struct("thread_identifier_info")
.field("thread_id", &self.thread_id)
- .field("thread_handlee", &self.thread_handle)
+ .field("thread_handle", &self.thread_handle)
.field("dispatch_qaddr", &self.dispatch_qaddr)
.finish()
}