Skip to content

Commit 7d261e8

Browse files
committed
Remove trailing semicolon from internal err! macro
This will allow this crate to continue to compile if rust-lang/rust#33953 is fixed
1 parent deed14d commit 7d261e8

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)