chore: Add must_use annotation
This commit is contained in:
parent
3e4e696761
commit
fce024b30b
1 changed files with 1 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue