Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed May 25, 2024
1 parent 0ff6acc commit 58943d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/archive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ pub mod zip;

pub use self::extract::{Error, Extract};
pub use self::tar_xz::TarXz;

2 changes: 1 addition & 1 deletion src/shell/infer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub use self::unix::infer_shell;
#[cfg(not(unix))]
pub use self::windows::infer_shell;

fn shell_from_string(shell: &str) -> Option<Box<dyn super::Shell>> {
fn shell_from_string(shell: &str) -> Option<Box<dyn super::Shell>> {
use super::{Bash, Fish, PowerShell, WindowsCmd, Zsh};
match shell {
"sh" | "bash" => return Some(Box::from(Bash)),
Expand Down

0 comments on commit 58943d4

Please sign in to comment.