mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Fix a bunch of clippy lints This fixes about 130 clippy lints. Let me know if i should split up the commit. I wasn't sure about some of the changes, especially map_or instead of map(...).unwrap_or(...) and if let instead of single arm match were not always a strict improvement in my opinion, but i'll leave that decision to the reviewer :) There are about 150 lints left which i thought were clippy bugs or i didn't know how to fix. cc @Manishearth <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9123) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
Cargo.toml | ||
filters.rs | ||
font.rs | ||
font_cache_task.rs | ||
font_context.rs | ||
font_template.rs | ||
lib.rs | ||
paint_context.rs | ||
paint_task.rs |