Improve docs for Drain on String
This is the last bit of String docs needed to Close #29376
This commit is contained in:
parent
6630a08195
commit
47e81ed3ab
@ -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…
x
Reference in New Issue
Block a user