mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-25 09:46:49 +00:00
fix typo
This commit is contained in:
parent
c6622475b2
commit
314a75da28
1 changed files with 1 additions and 1 deletions
|
@ -916,7 +916,7 @@ extension_trait! {
|
||||||
let max = s.clone().max_by_key(|x| x.abs()).await;
|
let max = s.clone().max_by_key(|x| x.abs()).await;
|
||||||
assert_eq!(max, Some(3));
|
assert_eq!(max, Some(3));
|
||||||
|
|
||||||
let max = stream::empty::<isize>().min_by_key(|x| x.abs()).await;
|
let max = stream::empty::<isize>().max_by_key(|x| x.abs()).await;
|
||||||
assert_eq!(max, None);
|
assert_eq!(max, None);
|
||||||
#
|
#
|
||||||
# }) }
|
# }) }
|
||||||
|
|
Loading…
Reference in a new issue