Format with rustfmt 1.5.2-nightly

This commit is contained in:
David Tolnay
2023-03-14 00:50:38 -07:00
parent 7a8e4977e2
commit 994f7c7924
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -747,7 +747,10 @@ macro_rules! forwarded_impl {
}
}
#[cfg(all(any(feature = "std", all(not(no_core_cstr), feature = "alloc")), not(no_de_boxed_c_str)))]
#[cfg(all(
any(feature = "std", all(not(no_core_cstr), feature = "alloc")),
not(no_de_boxed_c_str)
))]
forwarded_impl!((), Box<CStr>, CString::into_boxed_c_str);
#[cfg(not(no_core_reverse))]
+1 -1
View File
@@ -225,7 +225,7 @@ mod lib {
pub use std::ffi::CStr;
#[cfg(all(not(no_core_cstr), feature = "alloc", not(feature = "std")))]
pub use alloc::ffi::{CString};
pub use alloc::ffi::CString;
#[cfg(feature = "std")]
pub use std::ffi::CString;