Skip to content

Commit

Permalink
Run cargo-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
conradkleinespel committed Mar 13, 2022
1 parent cef9388 commit 6406fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/rpassword/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ mod windows {
}
}

#[cfg(target_family = "wasm")]
pub use wasm::read_password;
#[cfg(target_family = "unix")]
pub use unix::read_password;
#[cfg(target_family = "wasm")]
pub use wasm::read_password;
#[cfg(target_family = "windows")]
pub use windows::read_password;

Expand Down
5 changes: 2 additions & 3 deletions src/rutil/print_tty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mod wasm {
}
}


#[cfg(target_family = "unix")]
mod unix {
use std::io::Write;
Expand Down Expand Up @@ -68,7 +67,7 @@ pub fn print_writer(stream: &mut impl Write, prompt: impl ToString) -> std::io::
use std::io::Write;
#[cfg(target_family = "unix")]
pub use unix::print_tty;
#[cfg(target_family = "windows")]
pub use windows::print_tty;
#[cfg(target_family = "wasm")]
pub use wasm::print_tty;
#[cfg(target_family = "windows")]
pub use windows::print_tty;

0 comments on commit 6406fa1

Please sign in to comment.