Skip to content

Commit

Permalink
Fix rustdoc build
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Jul 1, 2024
1 parent 2f1dc46 commit c513d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/string/drain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c513d2d

Please sign in to comment.