Skip to content

Commit a6f96d3

Browse files
committed
🚨 (task::task_tracker): Fix the mismatched_lifetime_syntaxes warning lint introduced by Rust 1.89.0
1 parent 5c499ce commit a6f96d3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- (safety): Replace `unwrap` with `expect` to enhance safety and readability ([](https://github.com/opensound-org/est/commit/))
1313

14+
### Fixed
15+
16+
- (task::task_tracker): Fix the `mismatched_lifetime_syntaxes` warning lint introduced by Rust `1.89.0` ([](https://github.com/opensound-org/est/commit/))
17+
1418
### Deps
1519

1620
- Upgrade `tokio` to `1.47.1` ([](https://github.com/opensound-org/est/commit/))

‎src/task/task_tracker.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ pub use tokio_util::task::TaskTracker;
77
/// [`close`]: TaskTracker::close
88
/// [`wait`]: TaskTracker::wait
99
pub trait CloseAndWait {
10-
fn close_and_wait(&self) -> TaskTrackerWaitFuture;
10+
fn close_and_wait(&self) -> TaskTrackerWaitFuture<'_>;
1111
}
1212

1313
impl CloseAndWait for TaskTracker {
14-
fn close_and_wait(&self) -> TaskTrackerWaitFuture {
14+
fn close_and_wait(&self) -> TaskTrackerWaitFuture<'_> {
1515
self.close();
1616
self.wait()
1717
}

0 commit comments

Comments
 (0)