diff --git a/rust/CHANGELOG.md b/rust/CHANGELOG.md index 25b4f1d56b..ac989ce624 100644 --- a/rust/CHANGELOG.md +++ b/rust/CHANGELOG.md @@ -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 diff --git a/rust/src/router/data_consumer.rs b/rust/src/router/data_consumer.rs index c7d013464d..bafaffd240 100644 --- a/rust/src/router/data_consumer.rs +++ b/rust/src/router/data_consumer.rs @@ -903,7 +903,10 @@ impl DataConsumer { } /// Callback is called when the associated data producer is resumed. - pub fn on_data_producer_resume(&self, callback: F) -> HandlerId { + pub fn on_data_producer_resume( + &self, + callback: F, + ) -> HandlerId { self.inner() .handlers .data_producer_resume