chore: clippy fixes
This commit is contained in:
parent
b2359e4020
commit
90efa34608
12 changed files with 47 additions and 43 deletions
|
|
@ -1391,7 +1391,7 @@ fn test_grammars_that_can_hang_on_eof() {
|
|||
|
||||
#[test]
|
||||
fn test_parse_stack_recursive_merge_error_cost_calculation_bug() {
|
||||
let source_code = r#"
|
||||
let source_code = r"
|
||||
fn main() {
|
||||
if n == 1 {
|
||||
} else if n == 2 {
|
||||
|
|
@ -1404,7 +1404,7 @@ let y = if x == 5 { 10 } else { 15 };
|
|||
if foo && bar {}
|
||||
|
||||
if foo && bar || baz {}
|
||||
"#;
|
||||
";
|
||||
|
||||
let mut parser = Parser::new();
|
||||
parser.set_language(&get_language("rust")).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue