Skip to content

Commit

Permalink
clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zachschuermann committed Feb 27, 2025
1 parent df7a819 commit f0270c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/src/engine/default/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ mod tests {
}

// Register a waker for a specific path
fn register_waker(&self, path: &Path, waker: std::task::Waker) {
fn register_waker(&self, path: &Path, waker: Waker) {
self.wakers
.lock()
.unwrap()
Expand Down Expand Up @@ -366,7 +366,7 @@ mod tests {
// - if no, register the waker and wait
async fn get(&self, location: &Path) -> Result<GetResult> {
// we implement a future which only resolves once the requested path is next in order
futures::future::poll_fn(move |cx| {
future::poll_fn(move |cx| {
let mut ordered_keys = self.ordered_keys.lock().unwrap();
match ordered_keys.front() {
Some(key) if key == location => {
Expand Down

0 comments on commit f0270c7

Please sign in to comment.