Fix Clippy

Fix all clippy lint warnings in the project

quickwit-oss Updated
Quickwit Distributed Tracing

File contents

Fix Clippy

Clippy issues are warnings, not errors. Never grep for error when looking for clippy issues.

Step 1: Auto-fix

Run make fix to automatically fix clippy warnings:

make fix

Step 2: Fix remaining warnings manually

Check for remaining warnings that couldn't be auto-fixed:

cargo clippy --tests 2>&1 | grep "^warning:" | sort -u

For each remaining warning, find the exact location and fix it manually.

quickwit-oss/quickwit commit 23e812c552

Frequently asked questions

npx get-skill add quickwit-oss/fix-clippy