pages.rs: format with rustfmt

Signed-off-by: Peppe289 <gsperanza204@gmail.com>
This commit is contained in:
Peppe289 2023-03-06 19:03:47 +01:00
parent 280ef70cc8
commit 73d16a5f7b
1 changed files with 3 additions and 3 deletions

View File

@ -67,9 +67,9 @@ fn create_fixes_section() -> gtk::Box {
std::thread::spawn(move || {
// check if you have orphans packages.
let status = std::process::Command::new("pacman")
.arg("-Qtdq")
.status()
.expect("Found orphans packages");
.arg("-Qtdq")
.status()
.expect("Found orphans packages");
if status.success() {
let _ = utils::run_cmd_terminal(String::from("pacman -Rns $(pacman -Qtdq)"), true);