mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
remove unused lifetime parameter from utils::calculate_hash
This doesn't trigger a warning before rustc 1.58.0, for whatever reason.
This commit is contained in:
parent
d2ee80db94
commit
e65815c82e
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ where
|
|||
}
|
||||
|
||||
#[tracing::instrument(skip(keys))]
|
||||
pub(crate) fn calculate_hash<'a, I, T>(keys: I) -> Vec<u8>
|
||||
pub(crate) fn calculate_hash<I, T>(keys: I) -> Vec<u8>
|
||||
where
|
||||
I: IntoIterator<Item = T>,
|
||||
T: AsRef<[u8]>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue