Skip to content

Commit

Permalink
Rollup merge of #127072 - Sky9x:docs-includes-vs-does-include, r=scot…
Browse files Browse the repository at this point in the history
…tmcm

docs: say "includes" instead of "does include"

Provides more visual difference between the negative ("does not include") and the positive ("includes"). Both phrases have the same meaning.
  • Loading branch information
GuillaumeGomez authored Jun 29, 2024
2 parents c1fb4e5 + 9bbf3d9 commit e9594b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/core/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ impl Duration {

/// Returns the number of seconds contained by this `Duration` as `f64`.
///
/// The returned value does include the fractional (nanosecond) part of the duration.
/// The returned value includes the fractional (nanosecond) part of the duration.
///
/// # Examples
/// ```
Expand All @@ -861,7 +861,7 @@ impl Duration {

/// Returns the number of seconds contained by this `Duration` as `f32`.
///
/// The returned value does include the fractional (nanosecond) part of the duration.
/// The returned value includes the fractional (nanosecond) part of the duration.
///
/// # Examples
/// ```
Expand All @@ -880,7 +880,7 @@ impl Duration {

/// Returns the number of milliseconds contained by this `Duration` as `f64`.
///
/// The returned value does include the fractional (nanosecond) part of the duration.
/// The returned value includes the fractional (nanosecond) part of the duration.
///
/// # Examples
/// ```
Expand All @@ -901,7 +901,7 @@ impl Duration {

/// Returns the number of milliseconds contained by this `Duration` as `f32`.
///
/// The returned value does include the fractional (nanosecond) part of the duration.
/// The returned value includes the fractional (nanosecond) part of the duration.
///
/// # Examples
/// ```
Expand Down

0 comments on commit e9594b5

Please sign in to comment.