mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-25 13:13:48 +01:00
Fix clippy lints
This commit is contained in:
parent
b033b6dc07
commit
abc9126137
2
build.rs
2
build.rs
@ -3,7 +3,7 @@ use walkdir::{WalkDir, DirEntry};
|
||||
fn is_hidden(entry: &DirEntry) -> bool {
|
||||
entry.file_name()
|
||||
.to_str()
|
||||
.map(|s| s.starts_with("."))
|
||||
.map(|s| s.starts_with('.'))
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// FIXME: No.
|
||||
#[allow(dead_code)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate slog;
|
||||
|
Loading…
Reference in New Issue
Block a user