mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Rename empty_tuple_assignment to monkey_barrel
This commit is contained in:
parent
659aa778d3
commit
38fa66aac3
@ -160,7 +160,7 @@ fn match_nested_if() {
|
||||
assert!(val);
|
||||
}
|
||||
|
||||
fn empty_tuple_assignment() {
|
||||
fn monkey_barrel() {
|
||||
let val = ()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=();
|
||||
assert_eq!(val, ());
|
||||
}
|
||||
@ -183,5 +183,5 @@ pub fn main() {
|
||||
r#match();
|
||||
i_yield();
|
||||
match_nested_if();
|
||||
empty_tuple_assignment();
|
||||
monkey_barrel();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user