Skip to content

Commit 9e3733e

Browse files
committed
Change #![feature]s to work on latest nightly.
1 parent 0cdb59f commit 9e3733e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/simple.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(generic_associated_types, min_type_alias_impl_trait)]
1+
#![feature(generic_associated_types, type_alias_impl_trait)]
22
extern crate real_async_trait;
33

44
use std::collections::BTreeMap;

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
//!
3535
//! ## Example
3636
//! ```
37-
//! #![feature(generic_associated_types, min_type_alias_impl_trait)]
37+
//! #![feature(generic_associated_types, type_alias_impl_trait)]
3838
//! use real_async_trait::real_async_trait;
3939
//!
4040
//! /// An error code, similar to `errno` in C.
@@ -125,7 +125,7 @@
125125
//! Meanwhile, the impls will get the following generated code (simplified here as well):
126126
//!
127127
//! ```
128-
//! # #![feature(generic_associated_types, min_type_alias_impl_trait)]
128+
//! # #![feature(generic_associated_types, type_alias_impl_trait)]
129129
//! # struct FileDescriptor;
130130
//! # struct Errno;
131131
//! # pub trait RedoxScheme {

0 commit comments

Comments
 (0)