+3
-1
compiler-core/src/format.rs
+3
-1
compiler-core/src/format.rs
···
1500
1500
/// Returns true if there's a trailing comma between `start` and `end`.
1501
1501
///
1502
1502
fn has_trailing_comma(&self, start: u32, end: u32) -> bool {
1503
-
dbg!(self.trailing_commas)
1503
+
self.trailing_commas
1504
1504
.binary_search_by(|comma| {
1505
1505
if *comma < start {
1506
1506
Ordering::Less
···
2882
2882
}
2883
2883
}
2884
2884
2885
+
#[allow(clippy::enum_variant_names)]
2885
2886
enum ListItemsPacking {
2886
2887
/// Try and fit everything on a single line; if the items don't fit, break
2887
2888
/// the list putting each item into its own line.
···
2925
2926
/// 3,
2926
2927
/// ]
2927
2928
/// ```
2929
+
///
2928
2930
BreakOnePerLine,
2929
2931
}
2930
2932