chore: Add must_use annotation

This commit is contained in:
Jade Ellis 2025-05-21 12:45:14 +01:00 committed by magmaus3
parent 911964e890
commit 604b5a195c
Signed by: magmaus3
GPG key ID: C8AABFABFA2FAF66

View file

@ -16,6 +16,7 @@ pub static VERSION_EXTRA: Option<&str> =
option_env!("CONDUIT_VERSION_EXTRA")
};
#[must_use]
pub fn version_tag() -> Option<&'static str> {
VERSION_EXTRA
.filter(|s| !s.is_empty())