Skip to content

Commit

Permalink
turn references to type names into links
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 31, 2023
1 parent bf99fba commit 60634f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gz/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl<R> GzDecoder<R> {
/// Acquires a reference to the underlying reader.
///
/// Note that the decoder may have read past the end of the gzip data.
/// To prevent this use `bufread::GzDecoder` instead.
/// To prevent this use [`bufread::GzDecoder`] instead.
pub fn get_ref(&self) -> &R {
self.inner.get_ref().get_ref()
}
Expand All @@ -168,7 +168,7 @@ impl<R> GzDecoder<R> {
/// this decoder continues to be used.
///
/// Note that the decoder may have read past the end of the gzip data.
/// To prevent this use `bufread::GzDecoder` instead.
/// To prevent this use [`bufread::GzDecoder`] instead.
pub fn get_mut(&mut self) -> &mut R {
self.inner.get_mut().get_mut()
}
Expand All @@ -177,7 +177,7 @@ impl<R> GzDecoder<R> {
///
/// Note that the decoder may have read past the end of the gzip data.
/// Subsequent reads will skip those bytes. To prevent this use
/// `bufread::GzDecoder` instead.
/// [`bufread::GzDecoder`] instead.
pub fn into_inner(self) -> R {
self.inner.into_inner().into_inner()
}
Expand Down

0 comments on commit 60634f3

Please sign in to comment.