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

This commit is contained in:
Simon Sapin 2017-08-17 15:59:33 +02:00
parent fbabcaf614
commit 35282042bc
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),
{