diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2023-07-16 05:08:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-16 05:08:25 +0200 |
| commit | f05dc95346c5095ea271acfad26abc61b9f4f35a (patch) | |
| tree | d0b270300cca12013ee12e1d090101b8946579d4 | |
| parent | 2c718d12599ca00dc3957ec604cb3e87fe437124 (diff) | |
| download | rust-f05dc95346c5095ea271acfad26abc61b9f4f35a.tar.gz rust-f05dc95346c5095ea271acfad26abc61b9f4f35a.zip | |
collect.rs: remove "Basic usage" text where not useful
| -rw-r--r-- | library/core/src/iter/traits/collect.rs | 6 |
1 files changed, 0 insertions, 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<A>: 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<A> { /// /// # Examples /// - /// Basic usage: - /// /// ``` /// // You can extend a String with some chars: /// let mut message = String::from("abc"); |
