about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-19 14:08:57 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-19 14:08:57 +0200
commit313fb8fbf2bd4e99d36286474196599c5a5e6eaf (patch)
treebe98fd1ecc2b0a8044e3e909715788dbee1fc7f1 /src/libstd
parent8394685b8385156fc4bc31cfbc693867e276d9d7 (diff)
downloadrust-313fb8fbf2bd4e99d36286474196599c5a5e6eaf.tar.gz
rust-313fb8fbf2bd4e99d36286474196599c5a5e6eaf.zip
Replace 'e.g.' by 'i.e.'
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/time/duration.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs
index 246c57ab238..10a0c567e14 100644
--- a/src/libstd/time/duration.rs
+++ b/src/libstd/time/duration.rs
@@ -83,7 +83,7 @@ impl Duration {
 
     /// Returns the number of whole seconds represented by this duration.
     ///
-    /// The extra precision represented by this duration is ignored (e.g. extra
+    /// The extra precision represented by this duration is ignored (i.e. extra
     /// nanoseconds are not represented in the returned value).
     #[stable(feature = "duration", since = "1.3.0")]
     #[inline]
@@ -93,7 +93,7 @@ impl Duration {
     ///
     /// This method does **not** return the length of the duration when
     /// represented by nanoseconds. The returned number always represents a
-    /// fractional portion of a second (e.g. it is less than one billion).
+    /// fractional portion of a second (i.e. it is less than one billion).
     #[stable(feature = "duration", since = "1.3.0")]
     #[inline]
     pub fn subsec_nanos(&self) -> u32 { self.nanos }