Merge rust-bitcoin/rust-bitcoin#1601: Add '_ back into the BitStreamWriter
86f372774b
Add '_ back into the BitStreamWriter (Tobin C. Harding) Pull request description: 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). ACKs for top commit: apoelstra: ACK86f372774b
Kixunil: ACK86f372774b
Tree-SHA512: 2a9989164562dbe7bf133e3aeb090fbff7831bfeefb0ac8431e75b17d57184c4d60ac206578c6ebbcff903a3832502a162027ed9f37e5ed87e42a6bf61efa594
This commit is contained in:
commit
6db85c1d7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue