Skip to content

Commit

Permalink
Rollup merge of rust-lang#36578 - GuillaumeGomez:fix_typo, r=stevekla…
Browse files Browse the repository at this point in the history
…bnik

Replace 'e.g.' by 'i.e.'

Fixes rust-lang#36577.

r? @steveklabnik
  • Loading branch information
Jonathan Turner authored Sep 21, 2016
2 parents 57c745d + 313fb8f commit 5e7fbc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/time/duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }
Expand Down

0 comments on commit 5e7fbc4

Please sign in to comment.