Skip to content

Commit

Permalink
Rollup merge of rust-lang#127072 - Sky9x:docs-includes-vs-does-includ…
Browse files Browse the repository at this point in the history
…e, r=scottmcm

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 77a5b51 + e6e5e84 commit aaed209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 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 aaed209

Please sign in to comment.