servo/components/script
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
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearth 2016-01-03 09:16:34 +05:30
parse Avoid some rooting in parsing. 2015-12-11 09:40:17 -05:00
build.rs
Cargo.toml Move LayerKind and ScrollPolicy enums to gfx_traits 2015-12-20 20:43:31 -05:00
clipboard_provider.rs Move ScriptMsg from msg crate into script_traits 2015-12-09 20:50:11 +01:00
cors.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
devtools.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
document_loader.rs Resolves #4183 - Implemementing context-based MIME type sniffing 2015-12-31 07:45:03 -05:00
layout_interface.rs Auto merge of #9077 - bholley:split_layout_context_etc, r=SimonSapin 2015-12-30 11:01:23 +05:30
lib.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
makefile.cargo
mem.rs more refactoring 2015-10-30 20:26:29 +09:00
network_listener.rs
page.rs Auto merge of #8481 - frewsxcv:iterablepage-iter, r=Ms2ger 2015-11-12 18:29:12 +05:30
reporter.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
script_task.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
textinput.rs Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all 2015-12-10 16:49:29 -05:00
timers.rs fix intermittent Option::unwrap in timers 2015-12-04 20:16:43 +05:00
unpremultiplytable.rs
webdriver_handlers.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00