File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ type FreeFunc = unsafe extern "C" fn(*mut c_void, *mut c_void) -> ();
137137/// to be safe:
138138///
139139/// - a call `bzalloc(opaque, n, m)` must return a pointer `p` to `n * m` bytes of memory, or
140- /// `NULL` if out of memory
140+ /// `NULL` if out of memory
141141/// - a call `bzfree(opaque, p)` must free that memory
142142///
143143/// The `strm.opaque` value is passed to as the first argument to all calls to `bzalloc`
@@ -1063,7 +1063,7 @@ impl TryFrom<i32> for Action {
10631063/// - [`BZ_RUN_OK`] successfully compressed, but ran out of input or output space
10641064/// - [`BZ_FLUSH_OK`] not all compressed data has been written to the output yet
10651065/// - [`BZ_FINISH_OK`] if all input has been read but not all output has been written to the output
1066- /// buffer yet
1066+ /// buffer yet
10671067/// - [`BZ_STREAM_END`] if all input has been read all output has been written to the output buffer
10681068///
10691069/// # Safety
@@ -1772,7 +1772,7 @@ fn un_rle_obuf_to_output_small(strm: &mut BzStream<DState>, s: &mut DState) -> b
17721772/// - [`BZ_DATA_ERROR_MAGIC`] if the compressed stream doesn't begin with the right magic bytes
17731773/// - [`BZ_MEM_ERROR`] if there wasn't enough memory available
17741774/// - [`BZ_STREAM_END`] if the logical end of the data stream was detected and all output has been
1775- /// written to the output buffer
1775+ /// written to the output buffer
17761776/// - [`BZ_OK`] otherwise
17771777///
17781778/// # Safety
You can’t perform that action at this time.
0 commit comments