ci: error on clippy warnings and check repl

This commit is contained in:
link2xt
2022-08-13 14:15:10 +03:00
committed by Hocuri
parent c0d1c97490
commit 14045a6162
15 changed files with 31 additions and 31 deletions

View File

@@ -1429,7 +1429,7 @@ fn split_address_book(book: &str) -> Vec<(&str, &str)> {
.chunks(2)
.into_iter()
.filter_map(|chunk| {
let name = chunk.get(0)?;
let name = chunk.first()?;
let addr = chunk.get(1)?;
Some((*name, *addr))
})