Rename empty_tuple_assignment to monkey_barrel

This commit is contained in:
Slanterns 2020-11-12 10:38:03 +08:00 committed by GitHub
parent 659aa778d3
commit 38fa66aac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}