Use references in output syntax

This commit is contained in:
Eduard Tolosa 2019-03-27 00:07:18 -05:00
parent 1bb8eca993
commit 8802f64248

View file

@ -49,10 +49,10 @@ fn upcheck() {
);
}
} else {
eprintln!("Process exited with: {}", available_updates.status);
eprintln!("Process exited with: {}", &available_updates.status);
eprintln!(
"\nMore information about the error:\n\n {:#?}",
available_updates
&available_updates
);
}
} else {