From 6be51d2d18cac7f2eb58a0ea1af0e8866424bebe Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Mon, 16 Oct 2023 12:03:52 -0400 Subject: [PATCH] nits --- regex-capi/Cargo.toml | 1 + regex-capi/src/macros.rs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/regex-capi/Cargo.toml b/regex-capi/Cargo.toml index b583d83f7..f4265577d 100644 --- a/regex-capi/Cargo.toml +++ b/regex-capi/Cargo.toml @@ -12,6 +12,7 @@ A C API for Rust's regular expression library. """ workspace = ".." edition = "2021" +rust-version = "1.65" [lib] name = "rure" diff --git a/regex-capi/src/macros.rs b/regex-capi/src/macros.rs index a716206ba..6de0b6827 100644 --- a/regex-capi/src/macros.rs +++ b/regex-capi/src/macros.rs @@ -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() } } }