Skip to content

Commit

Permalink
rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 20, 2022
1 parent ba24c31 commit 154f629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
27af5175497936ea3413bef5816e7c0172514b9c
51ea9bb29b07d76c5a7167d054b54f4eb7f5b44e
2 changes: 1 addition & 1 deletion tests/run-pass/async-fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn never() -> Never {
}

async fn includes_never(crash: bool, x: u32) -> u32 {
let mut result = async { x * x }.await;
let result = async { x * x }.await;
if !crash {
return result;
}
Expand Down

0 comments on commit 154f629

Please sign in to comment.