chore: Add must_use annotation

This commit is contained in:
Jade Ellis 2025-05-21 12:45:14 +01:00
parent 3e4e696761
commit fce024b30b
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

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())