Rollup merge of #31515 - steveklabnik:doc_drain, r=alexcrichton
This is the last bit of String docs needed to Close #29376
This commit is contained in:
commit
a1a0edc690
1 changed files with 6 additions and 0 deletions
|
|
@ -1842,6 +1842,12 @@ impl fmt::Write for String {
|
|||
}
|
||||
|
||||
/// A draining iterator for `String`.
|
||||
///
|
||||
/// This struct is created by the [`drain()`] method on [`String`]. See its
|
||||
/// documentation for more.
|
||||
///
|
||||
/// [`drain()`]: struct.String.html#method.drain
|
||||
/// [`String`]: struct.String.html
|
||||
#[stable(feature = "drain", since = "1.6.0")]
|
||||
pub struct Drain<'a> {
|
||||
/// Will be used as &'a mut String in the destructor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue