[No-auto] bin/domain/log: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
3b941f23e3
commit
009539dfd3
1 changed files with 1 additions and 2 deletions
|
@ -242,8 +242,7 @@ fn get_diary_name(rt: &Runtime) -> String {
|
|||
.map(Value::as_str)
|
||||
.map(Option::unwrap) // safe by map from above
|
||||
.map(String::from)
|
||||
.filter(|log| log == ¤t_log)
|
||||
.next()
|
||||
.find(|log| log == ¤t_log)
|
||||
.is_none()
|
||||
{
|
||||
error!("'log.logs' does not contain 'log.default'");
|
||||
|
|
Loading…
Reference in a new issue