diff --git a/src/module/mod.rs b/src/module/mod.rs index 610421aa..33b1f8d0 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -16,7 +16,7 @@ pub struct ModuleError { } impl ModuleError { - fn mk(desc: &'static str) -> ModuleError { + pub fn new(desc: &'static str) -> ModuleError { ModuleError { desc: desc.to_owned().to_string(), }