Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Aug 28, 2024
1 parent d89b024 commit 6be51d2
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 6be51d2

Please sign in to comment.