Rollup merge of #128526 - tshepang:patch-1, r=Amanieu

time.rs: remove "Basic usage text"

Only one example is given (for each method)
This commit is contained in:
Matthias Krüger 2024-08-04 11:32:34 +02:00 committed by GitHub
commit c8a33f7e34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -617,8 +617,6 @@ impl Duration {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use std::time::Duration;
///
@ -640,8 +638,6 @@ impl Duration {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use std::time::Duration;
///
@ -700,8 +696,6 @@ impl Duration {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use std::time::Duration;
///
@ -758,8 +752,6 @@ impl Duration {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use std::time::Duration;
///
@ -814,8 +806,6 @@ impl Duration {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use std::time::Duration;
///