From dd67cfddb5506a2dec522ee4256ff6e093255bbb Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 5 Jun 2021 22:50:27 +0000 Subject: docs(whirl_server::net::constants): portage notice --- crates/whirl_server/src/net/constants.rs | 5 +++++ 1 file changed, 5 insertions(+) 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: +//! . + #![allow(dead_code)] pub const VAR_PROTOCOL_VERSION: i32 = 24; -- cgit v1.2.3