Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Src: run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jae1911 committed Apr 17, 2022
1 parent 151c700 commit 58b80c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scrubber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::error::Error;
use std::ffi::OsStr;
use std::fs;

use log::{info};
use log::info;
use walkdir::WalkDir;

mod utils;
Expand Down
4 changes: 2 additions & 2 deletions src/scrubber/utils.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::ffi::OsStr;
use std::path::Path;
use std::path::PathBuf;
use std::ffi::OsStr;

pub fn change_file_name(path: impl AsRef<Path>, name: &str) -> PathBuf {
let path = path.as_ref();
Expand All @@ -23,8 +23,8 @@ pub fn check_can_be_scrubbed(path: impl AsRef<Path>) -> bool {

#[cfg(test)]
mod tests {
use crate::scrubber::utils::check_can_be_scrubbed;
use crate::scrubber::utils::change_file_name;
use crate::scrubber::utils::check_can_be_scrubbed;

use std::ffi::OsStr;
use std::path::Path;
Expand Down

0 comments on commit 58b80c4

Please sign in to comment.