Skip to content

Commit 75c6cb7

Browse files
committed
rust: fix clippy warnings
1 parent 6d23d17 commit 75c6cb7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

rust/bear/src/config.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
//! specification: bear
8181
//! ```
8282
83-
use std::collections::{HashMap, HashSet};
8483
use std::fs::OpenOptions;
8584
use std::path::{Path, PathBuf};
8685

@@ -826,8 +825,8 @@ mod validation {
826825
use std::path::{Path, PathBuf};
827826

828827
use crate::config::{
829-
Arguments, Compiler, DirectoryFilter, DuplicateFilter, IgnoreOrConsider, Intercept, Main,
830-
Output, SourceFilter,
828+
Arguments, Compiler, DuplicateFilter, IgnoreOrConsider, Intercept, Main, Output,
829+
SourceFilter,
831830
};
832831

833832
/// A trait to validate the configuration and return a valid instance.
@@ -1040,8 +1039,7 @@ mod validation {
10401039
#[cfg(test)]
10411040
mod test {
10421041
use super::*;
1043-
use crate::config::{Ignore, OutputFields};
1044-
use crate::{vec_of_pathbuf, vec_of_strings};
1042+
use crate::config::{DirectoryFilter, Ignore, OutputFields};
10451043

10461044
#[test]
10471045
fn test_duplicate_detection_validation_pass() {

0 commit comments

Comments
 (0)