Merge rust-bitcoin/rust-bitcoin#1594: Remove unnecessary lifetime
53d4fe66b5
Remove unnecessary lifetime (Tobin C. Harding) Pull request description: Clippy emits: warning: the following explicit lifetimes could be elided: 'a As suggested, remove the unnecessary lifetime. ACKs for top commit: apoelstra: ACK53d4fe66b5
Kixunil: ACK53d4fe66b5
Tree-SHA512: cc881164f319c6876cea9284aad5c613d3928864fe41e22f8c9c23a65aa6334e4c9fa6037f4ca7bed117e7915a389f152de2411f0b470975dd7e871e48de79c7
This commit is contained in:
commit
042b453f28
|
@ -419,9 +419,9 @@ impl GcsFilter {
|
|||
fn new(k0: u64, k1: u64, p: u8) -> GcsFilter { GcsFilter { k0, k1, p } }
|
||||
|
||||
/// Golomb-Rice encodes a number `n` to a bit stream (parameter 2^k).
|
||||
fn golomb_rice_encode<'a, W>(
|
||||
fn golomb_rice_encode<W>(
|
||||
&self,
|
||||
writer: &mut BitStreamWriter<'a, W>,
|
||||
writer: &mut BitStreamWriter<W>,
|
||||
n: u64,
|
||||
) -> Result<usize, io::Error>
|
||||
where
|
||||
|
|
Loading…
Reference in New Issue