mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 14:56:33 +03:00
refactor: fix elided_named_lifetimes warning in beta Rust
This commit is contained in:
@@ -73,7 +73,7 @@ async fn get_unique_quota_roots_and_usage(
|
|||||||
|
|
||||||
fn get_highest_usage<'t>(
|
fn get_highest_usage<'t>(
|
||||||
unique_quota_roots: &'t BTreeMap<String, Vec<QuotaResource>>,
|
unique_quota_roots: &'t BTreeMap<String, Vec<QuotaResource>>,
|
||||||
) -> Result<(u64, &'t String, &QuotaResource)> {
|
) -> Result<(u64, &'t String, &'t QuotaResource)> {
|
||||||
let mut highest: Option<(u64, &'t String, &QuotaResource)> = None;
|
let mut highest: Option<(u64, &'t String, &QuotaResource)> = None;
|
||||||
for (name, resources) in unique_quota_roots {
|
for (name, resources) in unique_quota_roots {
|
||||||
for r in resources {
|
for r in resources {
|
||||||
|
|||||||
Reference in New Issue
Block a user