From c1e63bfcdd5d4359f96cf81c8f42e3addb4e6e91 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 30 Aug 2019 23:33:45 +0900 Subject: [PATCH] Update documentation --- Cargo.toml | 4 ++-- derive/Cargo.toml | 4 ++-- src/lib.rs | 8 +++++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1aa52471..5f7071fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] @@ -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"] diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 71a3dc2e..919aef7e 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -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 = [] @@ -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. diff --git a/src/lib.rs b/src/lib.rs index 4ff855b4..34309f40 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. //!