Auto merge of #946 - RalfJung:rustup, r=oli-obk
fix async test Test got broken by https://github.com/rust-lang/rust/pull/64292.
This commit is contained in:
commit
7278385d80
2 changed files with 3 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
1e869133b9888dc5abde54f4f31cb797ed9c7874
|
||||
74d5c70b174f06843049af2d764ff57ddc81c81c
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ pub async fn foo(x: &u32, y: u32) -> u32 {
|
|||
}
|
||||
|
||||
async fn add(x: u32, y: u32) -> u32 {
|
||||
async { x + y }.await
|
||||
let a = async { x + y };
|
||||
a.await
|
||||
}
|
||||
|
||||
async fn build_aggregate(a: u32, b: u32, c: u32, d: u32) -> u32 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue