Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Oct 16, 2023
1 parent 13f5628 commit 0080baa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions regex-capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A C API for Rust's regular expression library.
"""
workspace = ".."
edition = "2021"
rust-version = "1.65"

[lib]
name = "rure"
Expand Down
5 changes: 4 additions & 1 deletion regex-capi/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ macro_rules! ffi_fn {
} else {
"UNABLE TO SHOW RESULT OF PANIC.".to_owned()
};
let _ = writeln!(&mut io::stderr(), "panic unwind caught, aborting: {msg:?}");
let _ = writeln!(
&mut io::stderr(),
"panic unwind caught, aborting: {msg:?}"
);
unsafe { abort() }
}
}
Expand Down

0 comments on commit 0080baa

Please sign in to comment.