Skip to content

Commit

Permalink
fixed rustfmt nightly warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lmkra committed Sep 30, 2023
1 parent eb9a160 commit 410ce78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/archive/rar.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
//! Contains RAR-specific building and unpacking functions

use crate::{info, list::FileInArchive, warning};
use std::path::Path;

use unrar::{self, Archive};

use crate::{info, list::FileInArchive, warning};

/// Unpacks the archive given by `archive_path` into the folder given by `output_folder`.
/// Assumes that output_folder is empty
pub fn unpack_archive(archive_path: &Path, output_folder: &Path, quiet: bool) -> crate::Result<usize> {
Expand Down
5 changes: 4 additions & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#[macro_use]
mod utils;

use std::{iter::once, path::Path, path::PathBuf};
use std::{
iter::once,
path::{Path, PathBuf},
};

use fs_err as fs;
use parse_display::Display;
Expand Down

0 comments on commit 410ce78

Please sign in to comment.