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:
Guillaume Gomez 2024-06-29 14:07:22 +02:00 committed by GitHub
commit e9594b504d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
/// ```