Skip to content

Commit

Permalink
Rename empty_tuple_assignment to monkey_barrel
Browse files Browse the repository at this point in the history
  • Loading branch information
slanterns authored Nov 12, 2020
1 parent 659aa77 commit 38fa66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/weird-exprs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ fn match_nested_if() {
assert!(val);
}

fn empty_tuple_assignment() {
fn monkey_barrel() {
let val = ()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=();
assert_eq!(val, ());
}
Expand All @@ -183,5 +183,5 @@ pub fn main() {
r#match();
i_yield();
match_nested_if();
empty_tuple_assignment();
monkey_barrel();
}

0 comments on commit 38fa66a

Please sign in to comment.