mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 06:47:34 +00:00
13 lines
141 B
Rust
13 lines
141 B
Rust
|
// check-pass
|
||
|
// edition:2018
|
||
|
|
||
|
async fn foo(x: &[Vec<u32>]) -> u32 {
|
||
|
0
|
||
|
}
|
||
|
|
||
|
async fn bar() {
|
||
|
foo(&[vec![123]]).await;
|
||
|
}
|
||
|
|
||
|
fn main() { }
|