Fix: ModuleError::mk() -> pub ModuleError::new()

This commit is contained in:
Matthias Beyer 2015-11-28 11:54:04 +01:00
parent 18ea01b854
commit 9bf9f96ab1

View file

@ -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(),
}