diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index 14fa7f9..a10d301 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -3,6 +3,7 @@ // eventually it would be nice to make this a const function so that we could // just get the version from a variable directly, but this is fine for now +#[must_use] pub fn version() -> u32 { let major = env!("CARGO_PKG_VERSION_MAJOR"); let minor = env!("CARGO_PKG_VERSION_MINOR"); |