diff --git a/Cargo.toml b/Cargo.toml index b87a08f..d519d73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "timed-map" description = "Lightweight map implementation that supports expiring entries and fully compatible with both std and no_std environments." -version = "1.5.1" +version = "1.6.0" edition = "2021" authors = ["Onur Ozkan "] license = "MIT" diff --git a/README.md b/README.md index c74c7b5..b2bf4dd 100644 --- a/README.md +++ b/README.md @@ -94,5 +94,5 @@ reduce the expiration logic overhead significantly. ```rs use timed_map::TimedMap; -let mut map = TimedMap::new().expiration_tick_cap(500); +let mut map = TimedMap::new().expiration_tick_cap(100); ``` diff --git a/src/lib.rs b/src/lib.rs index 4b1ab07..d7c9013 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,7 @@ //! ```rs //! use timed_map::TimedMap; //! -//! let mut map = TimedMap::new().expiration_tick_cap(500); +//! let mut map = TimedMap::new().expiration_tick_cap(100); //! ``` #![no_std]