about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-11-12 13:05:20 -0500
committerAndy Russell <arussell123@gmail.com>2018-11-13 14:45:31 -0500
commit4e35cbb22eceac145a6f794cde869b3684e0b1d5 (patch)
treeecd0cb5a9d4d5fd320029b88881c4c786b27513b /src/libcore
parent0195812aeafeecaa8760a4ddceae187472db8fe6 (diff)
downloadrust-4e35cbb22eceac145a6f794cde869b3684e0b1d5.tar.gz
rust-4e35cbb22eceac145a6f794cde869b3684e0b1d5.zip
fix various typos in doc comments
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/num/f32.rs2
-rw-r--r--src/libcore/task/wake.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs
index 577c823f9a0..d6c3996971a 100644
--- a/src/libcore/num/f32.rs
+++ b/src/libcore/num/f32.rs
@@ -445,7 +445,7 @@ impl f32 {
     /// signaling NaNs on MIPS are quiet NaNs on x86, and vice-versa.
     ///
     /// Rather than trying to preserve signaling-ness cross-platform, this
-    /// implementation favours preserving the exact bits. This means that
+    /// implementation favors preserving the exact bits. This means that
     /// any payloads encoded in NaNs will be preserved even if the result of
     /// this method is sent over the network from an x86 machine to a MIPS one.
     ///
diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs
index c9fb22e0080..c0ce7255d62 100644
--- a/src/libcore/task/wake.rs
+++ b/src/libcore/task/wake.rs
@@ -108,7 +108,7 @@ impl Drop for Waker {
 /// is ready to be run.
 ///
 /// This is similar to the `Waker` type, but cannot be sent across threads.
-/// Task executors can use this type to implement more optimized singlethreaded wakeup
+/// Task executors can use this type to implement more optimized single-threaded wakeup
 /// behavior.
 #[repr(transparent)]
 #[derive(Clone)]