Skip to content

chore: fix new Clippy lints in Rust 1.83.0 #5495

chore: fix new Clippy lints in Rust 1.83.0

chore: fix new Clippy lints in Rust 1.83.0 #5495

GitHub Actions / clippy failed Nov 28, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 17 in tracing-subscriber/benches/reload.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after doc comment

error: empty line after doc comment
  --> tracing-subscriber/benches/reload.rs:16:1
   |
16 | / /// reloadable collectors.
17 | |
   | |_
18 |   fn mk_builder() -> CollectorBuilder<DefaultFields, Format<Full>, EnvFilter, fn() -> NoWriter> {
   |   --------------------------------------------------------------------------------------------- the comment documents this function
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
   = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
   = help: if the empty line is unintentional remove it