Skip to content

Commit 5c93a5c

Browse files
committed
Shorten cfg line lengths in liballoc
1 parent d79f767 commit 5c93a5c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/liballoc/heap.rs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ mod imp {
175175
pub use self::external::{usable_size, stats_print};
176176
}
177177

178-
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), jemalloc))]
178+
#[cfg(all(not(feature = "external_funcs"),
179+
not(feature = "external_crate"),
180+
jemalloc))]
179181
mod imp {
180182
use core::option::Option;
181183
use core::option::Option::None;
@@ -252,7 +254,10 @@ mod imp {
252254
}
253255
}
254256

255-
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), not(jemalloc), unix))]
257+
#[cfg(all(not(feature = "external_funcs"),
258+
not(feature = "external_crate"),
259+
not(jemalloc),
260+
unix))]
256261
mod imp {
257262
use core::cmp;
258263
use core::ptr;
@@ -313,7 +318,10 @@ mod imp {
313318
pub fn stats_print() {}
314319
}
315320

316-
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), not(jemalloc), windows))]
321+
#[cfg(all(not(feature = "external_funcs"),
322+
not(feature = "external_crate"),
323+
not(jemalloc),
324+
windows))]
317325
mod imp {
318326
use libc::{c_void, size_t};
319327
use libc;

0 commit comments

Comments
 (0)