Fix rustdoc build

This commit is contained in:
Sosthène Guédon 2024-07-01 09:58:12 +02:00
parent 2f1dc46463
commit c513d2d78f
No known key found for this signature in database
GPG Key ID: 36DA48A4C827B354

View File

@ -4,10 +4,10 @@ use super::StringView;
/// A draining iterator for `String`.
///
/// This struct is created by the [`drain`] method on [`String`]. See its
/// This struct is created by the [`drain`] method on [`crate::String`]. See its
/// documentation for more.
///
/// [`drain`]: String::drain
/// [`drain`]: crate::String::drain
pub struct Drain<'a> {
/// Will be used as &'a mut String in the destructor
pub(super) string: *mut StringView,