Auto merge of #18126 - servo:glow-fox, r=emilio

geckolib: Fix some warnings (treated as error) new in Rust Nigthly

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18126)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-17 11:05:32 -05:00 committed by GitHub
commit cc86ca2bcd
6 changed files with 21 additions and 21 deletions

View file

@ -352,7 +352,7 @@ impl nsStyleImage {
// NB: stops are guaranteed to be none in the gecko side by
// default.
let mut gecko_stop = unsafe {
let gecko_stop = unsafe {
&mut (*gecko_gradient).mStops[index]
};
let mut coord = nsStyleCoord::null();

View file

@ -413,7 +413,7 @@ impl<'lb> GeckoXBLBinding<'lb> {
}
}
fn each_xbl_stylist<F>(self, mut f: &mut F)
fn each_xbl_stylist<F>(self, f: &mut F)
where
F: FnMut(&Stylist),
{