diff options
| author | Fuwn <[email protected]> | 2021-06-05 22:50:27 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-05 22:50:27 +0000 |
| commit | dd67cfddb5506a2dec522ee4256ff6e093255bbb (patch) | |
| tree | 742ebd345e5838bd9b27c602fb62342848470728 /crates/whirl_server/src | |
| parent | build(global): bump toolchain release (diff) | |
| download | whirl-dd67cfddb5506a2dec522ee4256ff6e093255bbb.tar.xz whirl-dd67cfddb5506a2dec522ee4256ff6e093255bbb.zip | |
docs(whirl_server::net::constants): portage notice
Diffstat (limited to 'crates/whirl_server/src')
| -rw-r--r-- | crates/whirl_server/src/net/constants.rs | 5 |
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; |