Skip to content

Commit

Permalink
cargo fmt and andd changelog line
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Dec 18, 2023
1 parent ba6a302 commit b36e525
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion rust/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# NEXT

* Update h264-profile-level-id dependency to 0.2.0.
* Fix docs build.
* Fix docs build (PR #1271).
* Rename `data_consumer::on_producer_resume` to `data_consumer::on_data_producer_resume`.

# 0.13.0

Expand Down
5 changes: 4 additions & 1 deletion rust/src/router/data_consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,10 @@ impl DataConsumer {
}

/// Callback is called when the associated data producer is resumed.
pub fn on_data_producer_resume<F: Fn() + Send + Sync + 'static>(&self, callback: F) -> HandlerId {
pub fn on_data_producer_resume<F: Fn() + Send + Sync + 'static>(
&self,
callback: F,
) -> HandlerId {
self.inner()
.handlers
.data_producer_resume
Expand Down

0 comments on commit b36e525

Please sign in to comment.