chore: Fix nightly-only clippy lints

This commit is contained in:
Jade Ellis committed 2025-09-10 17:35:17 +01:00
1 parent baa89586e2
commit 72b78ed6d4
6 files changed
+24 -33

No files matched your search

+1 -1
View File
@@ -27,5 +27,5 @@ fn init_user_agent() -> String { format!("{}/{}", name(), version()) }
fn init_version() -> String {
conduwuit_build_metadata::version_tag()
.map_or(SEMANTIC.to_owned(), |extra| format!("{SEMANTIC} ({extra})"))
.map_or_else(|| SEMANTIC.to_owned(), |extra| format!("{SEMANTIC} ({extra})"))
}