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 }