Skip to content

Commit 39ec675

Browse files
Plataneclaude
authored andcommitted
Fix rustfmt compatibility with nightly 1.96 (quickwit-oss#6187)
Rustfmt 1.9.0 (shipped in nightly 2026-03-01) changed behavior for `imports_granularity = "Module"`: top-level imports are no longer merged. Expand grouped `pub use` re-exports and fix sort order. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d2d3621 commit 39ec675

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

quickwit/quickwit-common/src/rate_limited_tracing.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,13 @@ fn _check_macro_works() {
179179

180180
#[doc(hidden)]
181181
pub use coarsetime::Instant as CoarsetimeInstant;
182+
pub use rate_limited_debug;
183+
pub use rate_limited_error;
184+
pub use rate_limited_info;
185+
pub use rate_limited_trace;
182186
#[doc(hidden)]
183187
pub use rate_limited_tracing;
184-
pub use {
185-
rate_limited_debug, rate_limited_error, rate_limited_info, rate_limited_trace,
186-
rate_limited_warn,
187-
};
188+
pub use rate_limited_warn;
188189

189190
#[cfg(test)]
190191
mod tests {

quickwit/quickwit-proto/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ use tracing_opentelemetry::OpenTelemetrySpanExt;
2828

2929
pub mod cluster;
3030
pub mod control_plane;
31-
pub use {bytes, tonic};
31+
pub use bytes;
32+
pub use tonic;
3233
pub mod developer;
3334
pub mod error;
3435
mod getters;

0 commit comments

Comments
 (0)