Skip to content

fix(fast_io): clippy compliance in nvme_data_path bench - #4454

Merged
oferchen merged 1 commit into
masterfrom
fix/bench-clippy
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/bench-clippy

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • `doc_quote_line_without_marker`: rewrote three `>= 1 MiB` doc-comment phrasings as "sized at least 1 MiB" to satisfy clippy.
  • `uninlined_format_args`: inlined assert_eq! format args at line 388.
  • Net 16 clippy errors fixed; unblocks CI on every PR that rebases onto master.

Test plan

  • `cargo fmt --all` clean
  • CI fmt+clippy passes

Clippy in master fails on:
- `doc_quote_line_without_marker`: `>= 1 MiB` in `//!` doc lines was
  interpreted as a markdown blockquote starter. Replace with
  "sized at least 1 MiB" prose on the affected lines.
- `uninlined_format_args`: `assert_eq!("...{} < {}", result, chunk_size)`
  inlined to `"...{result} < {chunk_size}"`.

Unblocks every PR's fmt+clippy that includes this bench file.
@github-actions github-actions Bot added the bug Something isn't working label May 18, 2026
@oferchen
oferchen merged commit c2b0d94 into master May 18, 2026
14 of 19 checks passed
@oferchen
oferchen deleted the fix/bench-clippy branch May 18, 2026 02:25
oferchen added a commit that referenced this pull request May 18, 2026
Clippy in master fails on:
- `doc_quote_line_without_marker`: `>= 1 MiB` in `//!` doc lines was
  interpreted as a markdown blockquote starter. Replace with
  "sized at least 1 MiB" prose on the affected lines.
- `uninlined_format_args`: `assert_eq!("...{} < {}", result, chunk_size)`
  inlined to `"...{result} < {chunk_size}"`.

Unblocks every PR's fmt+clippy that includes this bench file.
oferchen added a commit that referenced this pull request May 18, 2026
Clippy in master fails on:
- `doc_quote_line_without_marker`: `>= 1 MiB` in `//!` doc lines was
  interpreted as a markdown blockquote starter. Replace with
  "sized at least 1 MiB" prose on the affected lines.
- `uninlined_format_args`: `assert_eq!("...{} < {}", result, chunk_size)`
  inlined to `"...{result} < {chunk_size}"`.

Unblocks every PR's fmt+clippy that includes this bench file.
oferchen added a commit that referenced this pull request Aug 24, 2026
Clippy in master fails on:
- `doc_quote_line_without_marker`: `>= 1 MiB` in `//!` doc lines was
  interpreted as a markdown blockquote starter. Replace with
  "sized at least 1 MiB" prose on the affected lines.
- `uninlined_format_args`: `assert_eq!("...{} < {}", result, chunk_size)`
  inlined to `"...{result} < {chunk_size}"`.

Unblocks every PR's fmt+clippy that includes this bench file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant