From c513d2d78f62009b4cee3e566263bd67c908ff6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 1 Jul 2024 09:58:12 +0200 Subject: [PATCH] Fix rustdoc build --- src/string/drain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string/drain.rs b/src/string/drain.rs index 8c9413f656..11a708c2e7 100644 --- a/src/string/drain.rs +++ b/src/string/drain.rs @@ -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,