Skip to content

Commit

Permalink
m: Update to e-l-s breaking changes
Browse files Browse the repository at this point in the history
Make sure that smol-rs/event-listener-strategy#6 doesn't break the
other main use case.

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull authored Sep 22, 2023
1 parent 642c52b commit 47a2bed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exclude = ["/.*"]
[dependencies]
concurrent-queue = { version = "2", default-features = false }
event-listener = { version = "3.0.0", default-features = false }
event-listener-strategy = { version = "0.2.0", default-features = false }
event-listener-strategy = { version = "0.3.0", default-features = false }
futures-core = { version = "0.3.5", default-features = false }
pin-project-lite = "0.2.11"

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ impl<'a, T> EventListenerFuture for SendInner<'a, T> {

/// Run this future with the given `Strategy`.
fn poll_with_strategy<'x, S: Strategy<'x>>(
self: Pin<&'x mut Self>,
self: Pin<&mut Self>,
strategy: &mut S,
context: &mut S::Context,
) -> Poll<Result<(), SendError<T>>> {
Expand Down Expand Up @@ -1152,7 +1152,7 @@ impl<'a, T> EventListenerFuture for RecvInner<'a, T> {

/// Run this future with the given `Strategy`.
fn poll_with_strategy<'x, S: Strategy<'x>>(
self: Pin<&'x mut Self>,
self: Pin<&mut Self>,
strategy: &mut S,
cx: &mut S::Context,
) -> Poll<Result<T, RecvError>> {
Expand Down

0 comments on commit 47a2bed

Please sign in to comment.