Skip to content

integration-test: appease clippy#1590

Merged
tamird merged 1 commit into
mainfrom
appease-clippy
May 30, 2026
Merged

integration-test: appease clippy#1590
tamird merged 1 commit into
mainfrom
appease-clippy

Conversation

@tamird

@tamird tamird commented May 30, 2026

Copy link
Copy Markdown
Member

useless_format now flags format!("{MARKER}") as being equivalent to
MARKER.to_string(). We care more about symmetry here so suppress it.


This change is Reviewable

`useless_format` now flags `format!("{MARKER}")` as being equivalent to
`MARKER.to_string()`. We care more about symmetry here so suppress it.
Copilot AI review requested due to automatic review settings May 30, 2026 18:31
@tamird tamird requested a review from a team as a code owner May 30, 2026 18:31
@netlify

netlify Bot commented May 30, 2026

Copy link
Copy Markdown

Deploy Preview for aya-rs-docs ready!

Name Link
🔨 Latest commit 2453204
🔍 Latest deploy log https://app.netlify.com/projects/aya-rs-docs/deploys/6a1b2d1f6a71120008c86d8d
😎 Deploy Preview https://deploy-preview-1590--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Suppresses a new clippy::useless_format warning in the printk integration test by adding an #[expect] attribute, and converts the test's expected parameter from Vec<String> to a const-generic [String; N] array so the vec! macro is no longer needed.

Changes:

  • Add #[expect(clippy::useless_format, reason = "symmetry")] on the bpf_printk test.
  • Replace vec![...] case inputs with array literals and generalize the test function with const N: usize.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tamird tamird merged commit 2453204 into main May 30, 2026
43 checks passed
@tamird tamird deleted the appease-clippy branch May 30, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants