File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ impl SplitWriter<'_> {
280280 }
281281
282282 /// Writes the line to the current split.
283- /// If [ `self.dev_null`] is true, then the line is discarded.
283+ /// If `self.dev_null` is true, then the line is discarded.
284284 ///
285285 /// # Errors
286286 ///
@@ -572,7 +572,7 @@ where
572572 self . size = size;
573573 }
574574
575- /// Add a line to the buffer. If the buffer has [ `self.size`] elements, then its head is removed and
575+ /// Add a line to the buffer. If the buffer has `self.size` elements, then its head is removed and
576576 /// the new line is pushed to the buffer. The removed head is then available in the returned
577577 /// option.
578578 fn add_line_to_buffer ( & mut self , ln : usize , line : String ) -> Option < String > {
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ impl Number {
112112 ///
113113 /// If incrementing this number would result in an overflow beyond
114114 /// the maximum representable number, then return
115- /// [ `Err(Overflow)`] . The [`FixedWidthNumber`] overflows, but
115+ /// `Err(Overflow)`. The [`FixedWidthNumber`] overflows, but
116116 /// [`DynamicWidthNumber`] does not.
117117 ///
118118 /// The [`DynamicWidthNumber`] follows a non-standard incrementing
@@ -122,7 +122,7 @@ impl Number {
122122 ///
123123 /// # Errors
124124 ///
125- /// This method returns [ `Err(Overflow)`] when attempting to
125+ /// This method returns `Err(Overflow)` when attempting to
126126 /// increment beyond the largest representable number.
127127 ///
128128 /// # Examples
@@ -212,7 +212,7 @@ impl FixedWidthNumber {
212212 ///
213213 /// This method adds one to this number. If incrementing this
214214 /// number would require more digits than are available with the
215- /// specified width, then this method returns [ `Err(Overflow)`] .
215+ /// specified width, then this method returns `Err(Overflow)`.
216216 fn increment ( & mut self ) -> Result < ( ) , Overflow > {
217217 for i in ( 0 ..self . digits . len ( ) ) . rev ( ) {
218218 // Increment the current digit.
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl BytesChunk {
208208
209209 /// Fills `self.buffer` with maximal [`BUFFER_SIZE`] number of bytes, draining the reader by
210210 /// that number of bytes. If EOF is reached (so 0 bytes are read), then returns
211- /// [`UResult<None>`] or else the result with [ `Some(bytes)`] where bytes is the number of bytes
211+ /// [`UResult<None>`] or else the result with `Some(bytes)` where bytes is the number of bytes
212212 /// read from the source.
213213 pub fn fill ( & mut self , filehandle : & mut impl BufRead ) -> UResult < Option < usize > > {
214214 let num_bytes = filehandle. read ( & mut self . buffer ) ?;
You can’t perform that action at this time.
0 commit comments