aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-05 13:54:47 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-05 14:56:31 -0400
commit2fbbcc66c1d14639aa6fad92688ffcd46c8a5533 (patch)
treeb7900363b0cf5efb5b3a460ca6925792548ea7fd /src/protocol.rs
parent72f64ca23ce14f4497fb3e762672b82454ddd892 (diff)
downloadrbw-2fbbcc66c1d14639aa6fad92688ffcd46c8a5533.tar.gz
rbw-2fbbcc66c1d14639aa6fad92688ffcd46c8a5533.zip
clippy
Diffstat (limited to 'src/protocol.rs')
-rw-r--r--src/protocol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs
index 203e6b9..a4b9722 100644
--- a/src/protocol.rs
+++ b/src/protocol.rs
@@ -1,3 +1,6 @@
+// https://github.com/rust-lang/rust-clippy/issues/6902
+#![allow(clippy::use_self)]
+
// 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
pub fn version() -> u32 {