From 85ec781a3524087e5f5f8fe31641fd2e455d3d51 Mon Sep 17 00:00:00 2001 From: Ilya Lakhin Date: Sun, 3 Jan 2021 09:08:22 +0700 Subject: [PATCH] Module::id_raw became crate-public --- src/module/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/mod.rs b/src/module/mod.rs index 97a3fada..14a2aaee 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -251,8 +251,8 @@ impl Module { self.id.as_ref().map(|s| s.as_str()) } - /// Get the ID of the [`Module`], if any. - pub(crate) fn id_raw(&self) -> &Option { + /// Get the ID of the [`Module`] as an [`ImmutableString`], if any. + pub fn id_raw(&self) -> &Option { &self.id }