servo/components/gfx
bors-servo 9da739acef Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearth
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 -->
2016-01-03 09:16:34 +05:30
..
display_list Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
platform Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
text Auto merge of #9013 - antrik:debug-fontgroup, r=Ms2ger 2015-12-18 14:23:15 +05:30
Cargo.toml Restrict font loads to known MIME types. 2015-12-31 07:45:48 -05:00
filters.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
font.rs Auto merge of #9013 - antrik:debug-fontgroup, r=Ms2ger 2015-12-18 14:23:15 +05:30
font_cache_task.rs Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearth 2016-01-03 09:16:34 +05:30
font_context.rs Auto merge of #9070 - antrik:debug-fonts, r=nox 2016-01-03 08:11:57 +05:30
font_template.rs Derive Debug on FontGroup and its components 2015-12-12 10:04:33 +01:00
lib.rs Restrict font loads to known MIME types. 2015-12-31 07:45:48 -05:00
paint_context.rs Auto merge of #9055 - simartin:issue_9042, r=Wafflespeanut 2015-12-24 10:55:48 +05:30
paint_task.rs Move LayerKind and ScrollPolicy enums to gfx_traits 2015-12-20 20:43:31 -05:00