iterator sizing lib
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e3ef45f..2fc57be 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hinted"
-version = "0.0.2"
+version = "1.0.0"
edition = "2021"
authors = ["bend-n <[email protected]>"]
license = "MIT"
diff --git a/src/lib.rs b/src/lib.rs
index a4f4645..adfe814 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,7 +6,7 @@
min_specialization,
trusted_random_access,
inplace_iteration,
- doc_auto_cfg
+ doc_cfg,
)
)]
#![no_std]
@@ -34,7 +34,7 @@ where
Hinted { iter: self, hint }
}
/// Implements [`ExactSizeIterator`] for any iterator, with a len provided by you.
- /// This implements [`TrustedLen`](std::iter::TrustedLen) as well, so this function is unsafe.
+ /// This implements [`TrustedLen`](core::iter::TrustedLen) as well, so this function is unsafe.
///
/// The resulting iterator will not return after the length has been reached.
///