Auto merge of #11745 - servo:rustup, r=mbrubeck

Update to rustc 2016-06-14.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11745)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-14 18:32:37 -05:00 committed by GitHub
commit 40e2b7d674
6 changed files with 186 additions and 188 deletions

View file

@ -91,7 +91,7 @@ pub fn detect_image_format(buffer: &[u8]) -> Result<ImageFormat, &str> {
fn is_gif(buffer: &[u8]) -> bool {
match buffer {
[b'G', b'I', b'F', b'8', n, b'a', ..] if n == b'7' || n == b'9' => true,
&[b'G', b'I', b'F', b'8', n, b'a', ..] if n == b'7' || n == b'9' => true,
_ => false
}
}