Skip to content

Commit b5d3b5c

Browse files
authored
Merge pull request #631 from Aaron1011/fix/trailing-semi
Remove trailing semicolon from internal `err!` macro
2 parents 0ea1c39 + 7d261e8 commit b5d3b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub fn c_cmp_to_ordering(cmp: c_int) -> Ordering {
204204
pub fn path_to_repo_path(path: &Path) -> Result<CString, Error> {
205205
macro_rules! err {
206206
($msg:literal, $path:expr) => {
207-
return Err(Error::from_str(&format!($msg, $path.display())));
207+
return Err(Error::from_str(&format!($msg, $path.display())))
208208
};
209209
}
210210
match path.components().next() {

0 commit comments

Comments
 (0)