Skip to content

Commit

Permalink
remove untrue comment
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Jan 23, 2023
1 parent 7d37c65 commit cfd10d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/examples/event_callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,5 @@ async fn main() {

// After we finished whatever we wanted, unusubscribe from the subscription,
// to ensure, that the node does not keep sending us events.
// This is not mandatory. If the subscription goes out of scope, it should
// automatically unsubscribe from the node.
subscription.unsubscribe().unwrap();
}

0 comments on commit cfd10d2

Please sign in to comment.