runtime-rs:fix cargo clippy

fix cargo clippy

Fixes: #4791
Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
This commit is contained in:
Zhongtao Hu
2022-08-02 11:48:39 +08:00
parent 9803393f2f
commit 7247575fa2
3 changed files with 11 additions and 14 deletions

View File

@@ -35,7 +35,7 @@ pub(crate) fn set_logger(path: &str, sid: &str, is_debug: bool) -> Result<slog_a
} else {
log::Level::Info
};
let _ = slog_stdlog::init_with_level(level).context(format!("init with level {}", level))?;
slog_stdlog::init_with_level(level).context(format!("init with level {}", level))?;
Ok(async_guard)
}