mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore: Add must_use annotation
This commit is contained in:
@@ -16,6 +16,7 @@ pub static VERSION_EXTRA: Option<&str> =
|
|||||||
option_env!("CONDUIT_VERSION_EXTRA")
|
option_env!("CONDUIT_VERSION_EXTRA")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[must_use]
|
||||||
pub fn version_tag() -> Option<&'static str> {
|
pub fn version_tag() -> Option<&'static str> {
|
||||||
VERSION_EXTRA
|
VERSION_EXTRA
|
||||||
.filter(|s| !s.is_empty())
|
.filter(|s| !s.is_empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user