next.js
12045752 - Apply clippy suggestions for idiomatic Rust

Commit
50 days ago
Apply clippy suggestions for idiomatic Rust Fixed 6 clippy warnings: 1. **Single-char string literals** → `push(char)` - `output.push_str(" ")` → `output.push(' ')` 2. **Collapsed nested if statements** with `if let ... &&` - More concise and idiomatic - Applied in 3 locations 3. **Length comparison** → `is_empty()` - `line_content.len() > 0` → `!line_content.is_empty()` All changes are zero-cost and improve readability. Tests passing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
Committer
Parents
Loading