Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 30, 2019
1 parent 3bf6ced commit c1e63bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ serde = ["auto_enums_derive/serde"]
# ==============================================================================
# Enable unstable features of [std|core] libraries

# Enable to use `[std|core]::iter::Generator` trait.
# Enable to use `[std|core]::ops::Generator` trait.
generator_trait = ["auto_enums_derive/generator_trait"]
# Enable to use `[std|core]::ops`'s `Fn`, `FnMut`, and `FnOnce` traits.
fn_traits = ["auto_enums_derive/fn_traits"]
Expand All @@ -79,5 +79,5 @@ trusted_len = ["auto_enums_derive/trusted_len"]

# Implements `ExactSizeIterator::is_empty`.
exact_size_is_empty = ["auto_enums_derive/exact_size_is_empty"]
# Implements `io::Read::read_initializer`.
# Implements `std::io::Read::read_initializer`.
read_initializer = ["auto_enums_derive/read_initializer"]
4 changes: 2 additions & 2 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ serde = []
# ==============================================================================
# Enable unstable features of [std|core] libraries.

# Enable to use `[std|core]::iter::Generator` trait.
# Enable to use `[std|core]::ops::Generator` trait.
generator_trait = []
# Enable to use `Fn`, `FnMut`, and `FnOnce` traits.
fn_traits = []
Expand All @@ -71,7 +71,7 @@ trusted_len = []

# Implements `ExactSizeIterator::is_empty`.
exact_size_is_empty = []
# Implements `io::Read::read_initializer`.
# Implements `std::io::Read::read_initializer`.
read_initializer = []

# Make iterator implementation more effective.
Expand Down
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,15 @@
//!
//! Note that support for these features are unstable and may cause incompatible changes between patch versions.
//!
//! * [`generator_trait`](https://github.com/rust-lang/rust/issues/43122) - Enable to use `[std|core]::ops::Generator` trait.
//!
//! * [`fn_traits`](https://github.com/rust-lang/rust/issues/29625) - Enable to use `[std|core]::ops`'s `Fn`, `FnMut`, and `FnOnce` traits.
//!
//! * [`trusted_len`](https://github.com/rust-lang/rust/issues/37572) - Enable to use `[std|core]::iter::TrustedLen` trait.
//!
//! * [`exact_size_is_empty`](https://github.com/rust-lang/rust/issues/35428) - Implements `ExactSizeIterator::is_empty`.
//!
//! * [`read_initializer`](https://github.com/rust-lang/rust/issues/42788) - Implements `io::Read::read_initializer`.
//! * [`read_initializer`](https://github.com/rust-lang/rust/issues/42788) - Implements `std::io::Read::read_initializer`.
//!
//! * [`try_trait`](https://github.com/rust-lang/rust/issues/42327) - Make iterator implementation more effective.
//!
Expand Down

0 comments on commit c1e63bf

Please sign in to comment.