Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Feb 9, 2022
1 parent a16ba81 commit 18a49e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions applications/launchpad/backend/src/docker/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//

use std::{collections::HashMap, ffi::OsStr, path, path::PathBuf, time::Duration};
use std::{collections::HashMap, path, path::PathBuf, time::Duration};

use bollard::models::{Mount, MountTypeEnum, PortBinding, PortMap};
use config::ConfigError;
use regex::Regex;
use serde::{Deserialize, Serialize};
use thiserror::Error;
use tor_hash_passwd::EncryptedKey;
Expand Down Expand Up @@ -191,6 +190,8 @@ impl LaunchpadConfig {
self.data_directory
.iter()
.filter_map(|part| {
use regex::Regex;
use std::ffi::OsStr;
dbg!(part);
if part == OsStr::new(&path::MAIN_SEPARATOR.to_string()) {
None
Expand Down

0 comments on commit 18a49e3

Please sign in to comment.