Auto merge of #113745 - tshepang:patch-1, r=workingjubilee
collect.rs: remove "Basic usage" text where not useful
This commit is contained in:
commit
00a39cc785
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user