From eda32dfdb540618f3df671ec76029a3d19f3bf0b Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Thu, 11 Apr 2019 17:35:54 -0700 Subject: [PATCH] Remove try_from feature from doctests. --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9f144095..584e510e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -65,7 +65,6 @@ pub enum Error { /// into a string as needed. /// /// ``` -/// # #![feature(try_from)] /// # use std::convert::TryFrom; /// # use ruma_identifiers::EventId; /// assert_eq!( @@ -88,7 +87,6 @@ pub struct EventId { /// needed. /// /// ``` -/// # #![feature(try_from)] /// # use std::convert::TryFrom; /// # use ruma_identifiers::RoomAliasId; /// assert_eq!( @@ -111,7 +109,6 @@ pub struct RoomAliasId { /// into a string as needed. /// /// ``` -/// # #![feature(try_from)] /// # use std::convert::TryFrom; /// # use ruma_identifiers::RoomId; /// assert_eq!( @@ -135,7 +132,6 @@ pub struct RoomId { /// string slice, the variant is determined by the leading sigil character. /// /// ``` -/// # #![feature(try_from)] /// # use std::convert::TryFrom; /// # use ruma_identifiers::RoomIdOrAliasId; /// assert_eq!( @@ -163,7 +159,6 @@ pub enum RoomIdOrAliasId { /// into a string as needed. /// /// ``` -/// # #![feature(try_from)] /// # use std::convert::TryFrom; /// # use ruma_identifiers::UserId; /// assert_eq!(