From aa04241aa4af394e710684fb354bedab1c61338a Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 3 Apr 2021 00:57:30 +0800 Subject: [PATCH] restrict visibility of Opcode --- services/graphics-server/src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphics-server/src/api.rs b/services/graphics-server/src/api.rs index 4adf19fe5..1ee7c90c1 100644 --- a/services/graphics-server/src/api.rs +++ b/services/graphics-server/src/api.rs @@ -47,7 +47,7 @@ impl hash32::Hash for Gid { pub const SERVER_NAME_GFX: &str = "_Graphics_"; #[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)] -pub enum Opcode { +pub(crate) enum Opcode { /// Flush the buffer to the screen Flush,