Remove try_from feature from doctests.
This commit is contained in:
parent
599e292d5c
commit
eda32dfdb5
@ -65,7 +65,6 @@ pub enum Error {
|
|||||||
/// into a string as needed.
|
/// into a string as needed.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # #![feature(try_from)]
|
|
||||||
/// # use std::convert::TryFrom;
|
/// # use std::convert::TryFrom;
|
||||||
/// # use ruma_identifiers::EventId;
|
/// # use ruma_identifiers::EventId;
|
||||||
/// assert_eq!(
|
/// assert_eq!(
|
||||||
@ -88,7 +87,6 @@ pub struct EventId {
|
|||||||
/// needed.
|
/// needed.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # #![feature(try_from)]
|
|
||||||
/// # use std::convert::TryFrom;
|
/// # use std::convert::TryFrom;
|
||||||
/// # use ruma_identifiers::RoomAliasId;
|
/// # use ruma_identifiers::RoomAliasId;
|
||||||
/// assert_eq!(
|
/// assert_eq!(
|
||||||
@ -111,7 +109,6 @@ pub struct RoomAliasId {
|
|||||||
/// into a string as needed.
|
/// into a string as needed.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # #![feature(try_from)]
|
|
||||||
/// # use std::convert::TryFrom;
|
/// # use std::convert::TryFrom;
|
||||||
/// # use ruma_identifiers::RoomId;
|
/// # use ruma_identifiers::RoomId;
|
||||||
/// assert_eq!(
|
/// assert_eq!(
|
||||||
@ -135,7 +132,6 @@ pub struct RoomId {
|
|||||||
/// string slice, the variant is determined by the leading sigil character.
|
/// string slice, the variant is determined by the leading sigil character.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # #![feature(try_from)]
|
|
||||||
/// # use std::convert::TryFrom;
|
/// # use std::convert::TryFrom;
|
||||||
/// # use ruma_identifiers::RoomIdOrAliasId;
|
/// # use ruma_identifiers::RoomIdOrAliasId;
|
||||||
/// assert_eq!(
|
/// assert_eq!(
|
||||||
@ -163,7 +159,6 @@ pub enum RoomIdOrAliasId {
|
|||||||
/// into a string as needed.
|
/// into a string as needed.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # #![feature(try_from)]
|
|
||||||
/// # use std::convert::TryFrom;
|
/// # use std::convert::TryFrom;
|
||||||
/// # use ruma_identifiers::UserId;
|
/// # use ruma_identifiers::UserId;
|
||||||
/// assert_eq!(
|
/// assert_eq!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user