diff --git a/ntex-util/CHANGES.md b/ntex-util/CHANGES.md index 02ce63a6a..f5fc2d4bb 100644 --- a/ntex-util/CHANGES.md +++ b/ntex-util/CHANGES.md @@ -1,6 +1,8 @@ # Changes -## [2.4.0] - 2024-xx-xx +## [2.4.0] - 2024-09-26 + +* Remove "must_use" from `condition::Waiter` * Remove mpsc::Sender::downgrade() diff --git a/ntex-util/Cargo.toml b/ntex-util/Cargo.toml index fa475625a..dcbfbe51d 100644 --- a/ntex-util/Cargo.toml +++ b/ntex-util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ntex-util" -version = "2.3.0" +version = "2.4.0" authors = ["ntex contributors "] description = "Utilities for ntex framework" keywords = ["network", "framework", "async", "futures"] diff --git a/ntex-util/src/channel/condition.rs b/ntex-util/src/channel/condition.rs index d6771caaf..078ebca80 100644 --- a/ntex-util/src/channel/condition.rs +++ b/ntex-util/src/channel/condition.rs @@ -130,7 +130,7 @@ impl Drop for Condition { } } -#[must_use = "Waiter do nothing unless polled"] +/// Waits for result from condition pub struct Waiter { token: usize, inner: Cell>,