Skip to content

Commit 812f908

Browse files
Rollup merge of #36578 - GuillaumeGomez:fix_typo, r=steveklabnik
Replace 'e.g.' by 'i.e.' Fixes #36577. r? @steveklabnik
2 parents 9b7c375 + 313fb8f commit 812f908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/time/duration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl Duration {
8383

8484
/// Returns the number of whole seconds represented by this duration.
8585
///
86-
/// The extra precision represented by this duration is ignored (e.g. extra
86+
/// The extra precision represented by this duration is ignored (i.e. extra
8787
/// nanoseconds are not represented in the returned value).
8888
#[stable(feature = "duration", since = "1.3.0")]
8989
#[inline]
@@ -93,7 +93,7 @@ impl Duration {
9393
///
9494
/// This method does **not** return the length of the duration when
9595
/// represented by nanoseconds. The returned number always represents a
96-
/// fractional portion of a second (e.g. it is less than one billion).
96+
/// fractional portion of a second (i.e. it is less than one billion).
9797
#[stable(feature = "duration", since = "1.3.0")]
9898
#[inline]
9999
pub fn subsec_nanos(&self) -> u32 { self.nanos }

0 commit comments

Comments
 (0)