From 7ee1af18c04a7cea76733dcb425801b64784d517 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 31 Jul 2023 07:56:26 +0200 Subject: [PATCH] turn references to type names into links --- src/gz/read.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gz/read.rs b/src/gz/read.rs index 72208e93..5a65526c 100644 --- a/src/gz/read.rs +++ b/src/gz/read.rs @@ -157,7 +157,7 @@ impl GzDecoder { /// 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() } @@ -168,7 +168,7 @@ impl GzDecoder { /// 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() } @@ -177,7 +177,7 @@ impl GzDecoder { /// /// 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() }