summary history branches tags files
commit:f3691fc260c4282ee14315787f2abe9087e6272a
author:Logan Darklock
committer:Logan Darklock
date:Sun Aug 23 17:12:13 2020 -0700
parents:0468eac696677c9a9bd142ebd3a080adde76b20a
Remove usage of deprecated .description()
diff --git a/src/lib.rs b/src/lib.rs
line changes: +1/-1
index cfc71f6..5fc131f
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -402,7 +402,7 @@ pub fn create_logger(filename: &str,
         .unwrap();
     match log4rs::init_config(config) {
         Ok(_) => Ok(log_path),
-        Err(e) => Err(e.description().to_string()),
+        Err(e) => Err(e.to_string()),
     }
 }
 /// Enable logging to rolling log files with Rust `log` library