mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
ci: error on clippy warnings and check repl
This commit is contained in:
@@ -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))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user