Skip to content

Commit

Permalink
Merge pull request #72 from zeenix/rel
Browse files Browse the repository at this point in the history
Prep release 0.7.2
  • Loading branch information
zeenix authored Dec 23, 2024
2 parents de420a3 + 1ee8967 commit f7a9913
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version 0.7.2

- Add `Sender::broadcast_blocking` and `Receiver::recv_blocking`. #41
- Use `Mutex` instead of `RwLock` for securing the inner data. #42
- Many non-user-facing internal improvements and fixes.

# Version 0.7.1

- Add a `poll_recv()` method to the `Receiver` type. This allows for `Receiver`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "async-broadcast"
version = "0.7.1"
version = "0.7.2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/smol-rs/async-broadcast"
documentation = "https://docs.rs/async-broadcast"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ pin_project! {
}
}

impl<'a, T: Clone> EventListenerFuture for SendInner<'a, T> {
impl<T: Clone> EventListenerFuture for SendInner<'_, T> {
type Output = Result<Option<T>, SendError<T>>;

fn poll_with_strategy<'x, S: event_listener_strategy::Strategy<'x>>(
Expand Down Expand Up @@ -1807,7 +1807,7 @@ pin_project! {
}
}

impl<'a, T: Clone> EventListenerFuture for RecvInner<'a, T> {
impl<T: Clone> EventListenerFuture for RecvInner<'_, T> {
type Output = Result<T, RecvError>;

fn poll_with_strategy<'x, S: event_listener_strategy::Strategy<'x>>(
Expand Down

0 comments on commit f7a9913

Please sign in to comment.