about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-04 11:32:34 +0200
committerGitHub <noreply@github.com>2024-08-04 11:32:34 +0200
commitc8a33f7e34ff9466eafed7ed0107501d32acaec3 (patch)
treeea9e70090e9c638462178d6934b6ea1d71fb5cb9
parentb6b8330b9dbffbf109e9b9fea0dd6ad5acd22a16 (diff)
parentaf79a6396c4175fcdacc18d7448bcde94c3f0363 (diff)
downloadrust-c8a33f7e34ff9466eafed7ed0107501d32acaec3.tar.gz
rust-c8a33f7e34ff9466eafed7ed0107501d32acaec3.zip
Rollup merge of #128526 - tshepang:patch-1, r=Amanieu
time.rs: remove "Basic usage text"

Only one example is given (for each method)
-rw-r--r--library/core/src/time.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/library/core/src/time.rs b/library/core/src/time.rs
index 179fbabadde..0390bb59a89 100644
--- a/library/core/src/time.rs
+++ b/library/core/src/time.rs
@@ -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;
     ///