Skip to content

Commit eb2abf5

Browse files
author
Wenjie Li
committed
Run cargo fmt
1 parent 9f4accc commit eb2abf5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/double_priority_queue/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,8 @@ where
489489
.change_priority_by(item, priority_setter)
490490
.map(|pos| {
491491
self.up_heapify(pos);
492-
}).is_some()
492+
})
493+
.is_some()
493494
}
494495

495496
/// Get the priority of an item, or `None`, if the item is not in the queue

src/priority_queue/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ where
423423
.change_priority_by(item, priority_setter)
424424
.map(|pos| {
425425
self.up_heapify(pos);
426-
}).is_some()
426+
})
427+
.is_some()
427428
}
428429

429430
/// Get the priority of an item, or `None`, if the item is not in the queue

0 commit comments

Comments
 (0)