chore: Fix nightly-only clippy lints

This commit is contained in:
Jade Ellis
2025-09-10 17:32:28 +01:00
parent baa89586e2
commit 72b78ed6d4
6 changed files with 24 additions and 33 deletions
+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})"))
}