From c16234f7a78fe5060622f1eca90bc4ce11c44d68 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 26 Mar 2017 16:10:44 +0200 Subject: [PATCH] Update rustc to 1.17.0-nightly (7dd4e2db7 2017-03-26) --- components/script/dom/element.rs | 4 ++-- rust-commit-hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index 59cc1587560..f11392cb4aa 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -180,9 +180,9 @@ pub enum AdjacentPosition { } impl<'a> TryFrom<&'a str> for AdjacentPosition { - type Err = Error; + type Error = Error; - fn try_from(position: &'a str) -> Result { + fn try_from(position: &'a str) -> Result { match_ignore_ascii_case! { &*position, "beforebegin" => Ok(AdjacentPosition::BeforeBegin), "afterbegin" => Ok(AdjacentPosition::AfterBegin), diff --git a/rust-commit-hash b/rust-commit-hash index 87e4ade6cec..9a8973790ee 100644 --- a/rust-commit-hash +++ b/rust-commit-hash @@ -1 +1 @@ -8c72b7651f231f589bc81d78fb9602d5a0899213 +7dd4e2db785c8ec360a989f69891b1e97dd4d369