mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 00:31:24 +01:00
Update MSRV to 1.84.0
And appease clippy (`__CARGO_FIX_YOLO=1 cargo clippy --fix` plus some manual type shuffling).
This commit is contained in:
parent
5616510727
commit
175a62007d
20 changed files with 83 additions and 89 deletions
|
|
@ -86,12 +86,10 @@ impl service::sending::Data for KeyValueDatabase {
|
|||
) -> Box<dyn Iterator<Item = Result<(SendingEventType, RequestKey)>> + 'a>
|
||||
{
|
||||
let prefix = destination.get_prefix();
|
||||
return Box::new(self.servernameevent_data.scan_prefix(prefix).map(
|
||||
|(k, v)| {
|
||||
let k = RequestKey::new(k);
|
||||
parse_servercurrentevent(&k, v).map(|(_, ev)| (ev, k))
|
||||
},
|
||||
));
|
||||
Box::new(self.servernameevent_data.scan_prefix(prefix).map(|(k, v)| {
|
||||
let k = RequestKey::new(k);
|
||||
parse_servercurrentevent(&k, v).map(|(_, ev)| (ev, k))
|
||||
}))
|
||||
}
|
||||
|
||||
fn mark_as_active(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue