Skip to content

Commit dd254d1

Browse files
authored
Merge pull request #20 from MDario123/master
log: expect instead of unwrap
2 parents 889a2f1 + 17f6798 commit dd254d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ pub fn init() {
117117
Some(rustfmt) => Command::new(rustfmt),
118118
None => Command::new("rustfmt"),
119119
};
120-
rustfmt.arg(&out_file).output().unwrap();
120+
rustfmt.arg(&out_file).output().expect("rustfmt not found");
121121
}
122122
}
123123
}

0 commit comments

Comments
 (0)