From acd1173848b4db1c733af7d3f53d24aab900b542 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 14 Dec 2021 23:00:15 -0500 Subject: clippy --- src/protocol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/protocol.rs') 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"); -- cgit v1.2.3-54-g00ecf