aboutsummaryrefslogtreecommitdiff
path: root/src/uid.rs
diff options
context:
space:
mode:
authorcurly <curly@infernal.garden>2024-08-27 15:25:27 -0600
committercurly <curly@infernal.garden>2024-08-27 15:25:27 -0600
commit3d8d55ecc531f6db73fcf86ac44ce28b9bf097c9 (patch)
treead50642ed610c846d1736c48b9059cb6f783d109 /src/uid.rs
parent22072ec07daabaa46352c764d7b62d3cf32251cc (diff)
downloadpoko_server-3d8d55ecc531f6db73fcf86ac44ce28b9bf097c9.tar.gz
poko_server-3d8d55ecc531f6db73fcf86ac44ce28b9bf097c9.tar.bz2
poko_server-3d8d55ecc531f6db73fcf86ac44ce28b9bf097c9.zip
UID 0000 can be registered with
Diffstat (limited to 'src/uid.rs')
-rw-r--r--src/uid.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/uid.rs b/src/uid.rs
index ad18b7e..8b6f129 100644
--- a/src/uid.rs
+++ b/src/uid.rs
@@ -4,7 +4,6 @@ use serde::{de::{IntoDeserializer, Visitor}, Deserialize, Deserializer, Serializ
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct UID(u8, u8);
-pub const EMPTY_UID: UID = UID(0,0);
struct UIDVisitor;
impl<'de> Visitor<'de> for UIDVisitor {
type Value = UID;