Skip to content

Commit

Permalink
Merge pull request #631 from Aaron1011/fix/trailing-semi
Browse files Browse the repository at this point in the history
Remove trailing semicolon from internal `err!` macro
  • Loading branch information
ehuss authored Jan 3, 2021
2 parents 0ea1c39 + 7d261e8 commit b5d3b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub fn c_cmp_to_ordering(cmp: c_int) -> Ordering {
pub fn path_to_repo_path(path: &Path) -> Result<CString, Error> {
macro_rules! err {
($msg:literal, $path:expr) => {
return Err(Error::from_str(&format!($msg, $path.display())));
return Err(Error::from_str(&format!($msg, $path.display())))
};
}
match path.components().next() {
Expand Down

0 comments on commit b5d3b5c

Please sign in to comment.