time.rs: remove "Basic usage text"
Only one example is given (for each method)
This commit is contained in:
parent
425ae69588
commit
af79a6396c
@ -617,8 +617,6 @@ pub const fn as_nanos(&self) -> u128 {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
@ -640,8 +638,6 @@ pub const fn abs_diff(self, other: Duration) -> Duration {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
@ -700,8 +696,6 @@ pub const fn saturating_add(self, rhs: Duration) -> Duration {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
@ -758,8 +752,6 @@ pub const fn saturating_sub(self, rhs: Duration) -> Duration {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
@ -814,8 +806,6 @@ pub const fn saturating_mul(self, rhs: u32) -> Duration {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
///
|
||||
/// ```
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user