From 4e35cbb22eceac145a6f794cde869b3684e0b1d5 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Mon, 12 Nov 2018 13:05:20 -0500 Subject: fix various typos in doc comments --- src/libcore/num/f32.rs | 2 +- src/libcore/task/wake.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore') 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)] -- cgit 1.4.1-3-g733a5