diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2017-11-19 16:36:55 +0100 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-11-22 10:50:28 -0500 |
commit | 5173bfb11b00adf5ca3e05d7b7ff03f5971c2713 (patch) | |
tree | 5fc0605e330f37c60bd3821b742540374c82c206 /src/decoder.rs | |
parent | 8141da9d39de8c67339d83ada2b7c387e5713d1d (diff) |
clippy: docs: put more relevant things into backticks.
Diffstat (limited to 'src/decoder.rs')
-rw-r--r-- | src/decoder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder.rs b/src/decoder.rs index bd2c3119..8bb9d2bf 100644 --- a/src/decoder.rs +++ b/src/decoder.rs @@ -32,7 +32,7 @@ impl Bom { } } -/// BomPeeker wraps `R` and satisfies the `io::Read` interface while also +/// `BomPeeker` wraps `R` and satisfies the `io::Read` interface while also /// providing a peek at the BOM if one exists. Peeking at the BOM does not /// advance the reader. struct BomPeeker<R> { @@ -87,7 +87,7 @@ impl<R: io::Read> io::Read for BomPeeker<R> { } } -/// Like io::Read::read_exact, except it never returns UnexpectedEof and +/// Like `io::Read::read_exact`, except it never returns `UnexpectedEof` and /// instead returns the number of bytes read if EOF is seen before filling /// `buf`. fn read_full<R: io::Read>( |