fix edition 2024 lints

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and June Clementine Strawberry committed 2025-02-27 10:26:45 -05:00
1 parent cbf207bd1f
commit a67ab75417
36 files changed
+60 -72

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ pub async fn read_tokens(&self) -> Result<HashSet<String>> {
},
| Err(e) => error!("Failed to read the registration token file: {e}"),
}
};
}
if let Some(token) = &self.services.config.registration_token {
tokens.insert(token.to_owned());
}