aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-05 22:50:27 -0700
committerFuwn <[email protected]>2021-06-05 22:50:27 -0700
commitcab644dcb2ebfb94d7fd016d6b7460071534eaea (patch)
tree47b33c308062ac8a0d1b3e3cf388343fe57c75c1
parentbuild(global): bump toolchain release (diff)
downloadwhirl-cab644dcb2ebfb94d7fd016d6b7460071534eaea.tar.xz
whirl-cab644dcb2ebfb94d7fd016d6b7460071534eaea.zip
docs(whirl_server::net::constants): portage notice
-rw-r--r--crates/whirl_server/src/net/constants.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/whirl_server/src/net/constants.rs b/crates/whirl_server/src/net/constants.rs
index 9073c49..3d2c1a6 100644
--- a/crates/whirl_server/src/net/constants.rs
+++ b/crates/whirl_server/src/net/constants.rs
@@ -1,6 +1,11 @@
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
+//! Despite `crate::cmd::constants` being ported from a series of constants to
+//! a single `enum`, this module may not be ported to one *yet* as Rust does
+//! not allows for duplicate discriminant values in `enum`s:
+//! <https://doc.rust-lang.org/error-index.html#E0081>.
+
#![allow(dead_code)]
pub const VAR_PROTOCOL_VERSION: i32 = 24;