Fix build and clippy warnings (#433)

This commit is contained in:
Tony Arcieri (iqlusion)
2022-11-12 14:15:42 -07:00
committed by GitHub
parent 87ed7b2338
commit 4310cc0f9a
8 changed files with 19 additions and 21 deletions
+2 -4
View File
@@ -140,14 +140,12 @@ impl Status {
/// Print the given message to stdout
pub fn print_stdout(self, msg: impl AsRef<str>) {
self.print(&*STDOUT, msg)
.expect("error printing to stdout!")
self.print(&STDOUT, msg).expect("error printing to stdout!")
}
/// Print the given message to stderr
pub fn print_stderr(self, msg: impl AsRef<str>) {
self.print(&*STDERR, msg)
.expect("error printing to stderr!")
self.print(&STDERR, msg).expect("error printing to stderr!")
}
/// Print the given message