fix: use clippy fix

This commit is contained in:
mrxiaozhuox committed 2022-01-25 12:42:27 +08:00
1 parent 66b832045a
commit 84d1867654
9 files changed
+36 -44

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ pub fn set_up_logging() {
// configure colors for the name of the level.
// since almost all of them are the same as the color for the whole line, we
// just clone `colors_line` and overwrite our changes
let colors_level = colors_line.clone().info(Color::Green);
let colors_level = colors_line.info(Color::Green);
// here we set up our fern Dispatch
fern::Dispatch::new()
.format(move |out, message, record| {