From 9bf9f96ab12ca3fcfb00aa67ee34057102550578 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 28 Nov 2015 11:54:04 +0100 Subject: [PATCH] Fix: ModuleError::mk() -> pub ModuleError::new() --- src/module/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), }