Rollup merge of #127072 - Sky9x:docs-includes-vs-does-include, 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.
This commit is contained in:
commit
e9594b504d
@ -842,7 +842,7 @@ pub const fn checked_div(self, rhs: u32) -> Option<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
|
||||
/// ```
|
||||
@ -861,7 +861,7 @@ pub const fn as_secs_f64(&self) -> f64 {
|
||||
|
||||
/// 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
|
||||
/// ```
|
||||
@ -880,7 +880,7 @@ pub const fn as_secs_f32(&self) -> f32 {
|
||||
|
||||
/// 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
|
||||
/// ```
|
||||
@ -901,7 +901,7 @@ pub const fn as_millis_f64(&self) -> f64 {
|
||||
|
||||
/// 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
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user