Skip to content

Commit

Permalink
fix doc links on msrv 1.48
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Oct 12, 2021
1 parent 525e1b0 commit 3df2dee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl<I> FusedIterator for DecodeUtf32Lossy<I> where I: Iterator<Item = u32> + Fu

/// An iterator over decoded [`char`][prim@char]s of a string slice.
///
/// This struct is created by the [`chars`][U16Str::chars] method on [`U16Str`] and [`U16CStr`].
/// This struct is created by the [`chars`][UStr<u16>::chars] method on [`U16Str`] and [`U16CStr`].
/// See its documentation for more.
#[derive(Clone)]
pub struct Utf16Chars<'a> {
Expand Down Expand Up @@ -153,7 +153,7 @@ impl<'a> core::fmt::Debug for Utf16Chars<'a> {

/// An iterator over decoded [`char`][prim@char]s of a string slice.
///
/// This struct is created by the [`chars`][U32Str::chars] method on [`U32Str`] and [`U32CStr`].
/// This struct is created by the [`chars`][UStr<u32>::chars] method on [`U32Str`] and [`U32CStr`].
/// See its documentation for more.
#[derive(Clone)]
pub struct Utf32Chars<'a> {
Expand Down Expand Up @@ -198,7 +198,7 @@ impl<'a> core::fmt::Debug for Utf32Chars<'a> {

/// A lossy iterator over decoded [`char`][prim@char]s of a string slice.
///
/// This struct is created by the [`chars`][U16Str::chars] method on [`UStr`][crate::UStr] and
/// This struct is created by the [`chars`][UStr<u16>::chars] method on [`UStr`][crate::UStr] and
/// [`UCStr`][crate::UCStr]. See its documentation for more.
#[derive(Clone)]
pub struct CharsLossy<'a> {
Expand Down Expand Up @@ -279,7 +279,7 @@ impl<'a> core::fmt::Debug for CharsLossy<'a> {

/// An iterator over the [`char`][prim@char]s of a string slice, and their positions.
///
/// This struct is created by the [`char_indices`][U16Str::char_indices] method on [`U16Str`] and
/// This struct is created by the [`char_indices`][UStr<u16>::char_indices] method on [`U16Str`] and
/// [`U16CStr`]. See its documentation for more.
#[derive(Debug, Clone)]
pub struct Utf16CharIndices<'a> {
Expand Down Expand Up @@ -332,7 +332,7 @@ impl<'a> FusedIterator for Utf16CharIndices<'a> {}

/// A lossy iterator over the [`char`][prim@char]s of a string slice, and their positions.
///
/// This struct is created by the [`char_indices_lossy`][U16Str::char_indices_lossy] method on
/// This struct is created by the [`char_indices_lossy`][UStr<u16>::char_indices_lossy] method on
/// [`U16Str`] and [`U16CStr`]. See its documentation for more.
#[derive(Debug, Clone)]
pub struct Utf16CharIndicesLossy<'a> {
Expand Down

0 comments on commit 3df2dee

Please sign in to comment.