mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Update rustc to 1.17.0-nightly (7dd4e2db7 2017-03-26)
This commit is contained in:
parent
c2d9f663af
commit
c16234f7a7
2 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
|
|
|
@ -1 +1 @@
|
|||
8c72b7651f231f589bc81d78fb9602d5a0899213
|
||||
7dd4e2db785c8ec360a989f69891b1e97dd4d369
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue