Update formatting

This commit is contained in:
Andras Schmelczer 2024-12-08 18:22:17 +00:00
commit 49638e5aa7
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -1,5 +1,4 @@
use std::cmp::Ordering;
use std::iter::Peekable;
use std::{cmp::Ordering, iter::Peekable};
pub struct MergeAscending<L, R, F, O>
where
@ -70,9 +69,10 @@ impl<T: ?Sized> MergeSorted for T where T: Iterator {}
#[cfg(test)]
mod tests {
use super::*;
use pretty_assertions::assert_eq;
use super::*;
#[test]
fn test_merge_sorted_by_key() {
let left = [9, 7, 5, 3, 1];