diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-07-02 21:27:07 -0400 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-03 12:54:51 -0700 |
| commit | e3fa23bcb64064d50c2a9e3b5870bc82081359d9 (patch) | |
| tree | 55c7f812cc8393b3e2ac7deef52886e811c45ff9 /src/libstd | |
| parent | 8297edd54976d06f4753bc18684614516d156243 (diff) | |
| download | rust-e3fa23bcb64064d50c2a9e3b5870bc82081359d9.tar.gz rust-e3fa23bcb64064d50c2a9e3b5870bc82081359d9.zip | |
Fix spelling errors.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/net/ip.rs | 2 | ||||
| -rw-r--r-- | src/libstd/os.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rt/backtrace.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/io/net/ip.rs b/src/libstd/io/net/ip.rs index 2c54bd895e9..ca59849202b 100644 --- a/src/libstd/io/net/ip.rs +++ b/src/libstd/io/net/ip.rs @@ -410,7 +410,7 @@ mod test { // colon after v4 let none: Option<IpAddr> = FromStr::from_str("::127.0.0.1:"); assert_eq!(None, none); - // not enought groups + // not enough groups let none: Option<IpAddr> = FromStr::from_str("1.2.3.4.5:127.0.0.1"); assert_eq!(None, none); // too many groups diff --git a/src/libstd/os.rs b/src/libstd/os.rs index c69209acbdd..4388de43f20 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -469,7 +469,7 @@ pub fn unsetenv(n: &str) { /// println!("'{}'", path.display()); /// } /// } -/// None => println!("{} is not defined in the environnement.", key) +/// None => println!("{} is not defined in the environment.", key) /// } /// ``` pub fn split_paths<T: BytesContainer>(unparsed: T) -> Vec<Path> { diff --git a/src/libstd/rt/backtrace.rs b/src/libstd/rt/backtrace.rs index 8f51e834c6a..2e0dcdd8eb6 100644 --- a/src/libstd/rt/backtrace.rs +++ b/src/libstd/rt/backtrace.rs @@ -266,7 +266,7 @@ mod imp { } // while it doesn't requires lock for work as everything is - // local, it still displays much nicier backtraces when a + // local, it still displays much nicer backtraces when a // couple of tasks fail simultaneously static mut LOCK: StaticNativeMutex = NATIVE_MUTEX_INIT; let _g = unsafe { LOCK.lock() }; |
