about summary refs log tree commit diff
path: root/src/libstd/time
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-08-17 10:44:07 -0400
committerGitHub <noreply@github.com>2017-08-17 10:44:07 -0400
commita4387d54dca2160544fd0775c52ad942794e4f5f (patch)
treee2b41f2f275778f0fffbe05def082906a47c410e /src/libstd/time
parentdd39ecf368a3cdb937e129f36a2a342d0c9358f0 (diff)
parentc7104be1a37daa2f7ec114913247dc93524fd48e (diff)
Rollup merge of #43891 - Fourchaux:master, r=steveklabnik
Fix typos & us spellings

Fixing some typos and non en-US spellings.

(Update of PR https://github.com/rust-lang/rust/pull/42812 )
Diffstat (limited to 'src/libstd/time')
-rw-r--r--src/libstd/time/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs
index e8eb4abaa40..5b893505b34 100644
--- a/src/libstd/time/mod.rs
+++ b/src/libstd/time/mod.rs
@@ -112,7 +112,7 @@ pub struct Instant(time::Instant);
 ///            println!("{}", elapsed.as_secs());
 ///        }
 ///        Err(e) => {
-///            // an error occured!
+///            // an error occurred!
 ///            println!("Error: {:?}", e);
 ///        }
 ///    }