From 8c2019eba0efe1e9adca6a5c1a243da79881104a Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Tue, 8 Aug 2023 16:39:27 +0300 Subject: [PATCH] chore: make `MenuId` field public --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c6f25f3..25f9b0a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,7 +156,7 @@ pub use menu::Menu; /// An unique id that is associated with a menu item. #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Default, Hash)] -pub struct MenuId(String); +pub struct MenuId(pub String); impl AsRef for MenuId { fn as_ref(&self) -> &str {