Add '_ back into the BitStreamWriter

Recently we merged `commit 53d4fe66b57c255086def2b5e47afaddee776b75` to
fix CI even though a better approach is to use `'_` because it assists
reading the code (shows that the bit stream writer is not writing from a
reference since its writing a `Copy` type `n`).

Add back in the `'_` (I forget what its called).
This commit is contained in:
Tobin C. Harding 2023-01-31 08:07:05 +11:00
parent a43de831e4
commit 86f372774b
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ impl GcsFilter {
/// Golomb-Rice encodes a number `n` to a bit stream (parameter 2^k).
fn golomb_rice_encode<W>(
&self,
writer: &mut BitStreamWriter<W>,
writer: &mut BitStreamWriter<'_, W>,
n: u64,
) -> Result<usize, io::Error>
where