diff options
-rw-r--r-- | components/script/dom/element.rs | 4 | ||||
-rw-r--r-- | 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<AdjacentPosition, Self::Err> { + fn try_from(position: &'a str) -> Result<AdjacentPosition, Self::Error> { 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 |