~matthiasbeyer/imag

e7389c88dd41d76aad9266a164885b6a624c953b — Matthias Beyer 11 months ago 56a59b3
Clippy Fix: let_underscore_lock

Use _variable instead of _ as a variable name for lock.

Expl.: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_lock

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/core/libimagrt/src/logger.rs
M lib/core/libimagrt/src/logger.rs => lib/core/libimagrt/src/logger.rs +1 -1
@@ 123,7 123,7 @@ impl Log for ImagLogger {
            },
            LogDestination::File(ref arc_mutex_logdest) => {
                // if there is an error in the lock, we cannot do anything. So we ignore it here.
                let _ = arc_mutex_logdest
                let _lock = arc_mutex_logdest
                    .deref()
                    .lock()
                    .map(|mut logdest| {