From f05dc95346c5095ea271acfad26abc61b9f4f35a Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sun, 16 Jul 2023 05:08:25 +0200 Subject: [PATCH] collect.rs: remove "Basic usage" text where not useful --- library/core/src/iter/traits/collect.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/library/core/src/iter/traits/collect.rs b/library/core/src/iter/traits/collect.rs index 0675e56358f..e0ef5071c40 100644 --- a/library/core/src/iter/traits/collect.rs +++ b/library/core/src/iter/traits/collect.rs @@ -138,8 +138,6 @@ pub trait FromIterator: Sized { /// /// # Examples /// - /// Basic usage: - /// /// ``` /// let five_fives = std::iter::repeat(5).take(5); /// @@ -255,8 +253,6 @@ pub trait IntoIterator { /// /// # Examples /// - /// Basic usage: - /// /// ``` /// let v = [1, 2, 3]; /// let mut iter = v.into_iter(); @@ -363,8 +359,6 @@ pub trait Extend { /// /// # Examples /// - /// Basic usage: - /// /// ``` /// // You can extend a String with some chars: /// let mut message = String::from("abc");