Skip to content

Commit 994f7c7

Browse files
committed
Format with rustfmt 1.5.2-nightly
1 parent 7a8e497 commit 994f7c7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

serde/src/de/impls.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,10 @@ macro_rules! forwarded_impl {
747747
}
748748
}
749749

750-
#[cfg(all(any(feature = "std", all(not(no_core_cstr), feature = "alloc")), not(no_de_boxed_c_str)))]
750+
#[cfg(all(
751+
any(feature = "std", all(not(no_core_cstr), feature = "alloc")),
752+
not(no_de_boxed_c_str)
753+
))]
751754
forwarded_impl!((), Box<CStr>, CString::into_boxed_c_str);
752755

753756
#[cfg(not(no_core_reverse))]

serde/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ mod lib {
225225
pub use std::ffi::CStr;
226226

227227
#[cfg(all(not(no_core_cstr), feature = "alloc", not(feature = "std")))]
228-
pub use alloc::ffi::{CString};
228+
pub use alloc::ffi::CString;
229229
#[cfg(feature = "std")]
230230
pub use std::ffi::CString;
231231

0 commit comments

Comments
 (0)