chore: clippy fixes

This commit is contained in:
Amaan Qureshi 2024-09-27 15:42:38 -04:00
parent b2359e4020
commit 90efa34608
12 changed files with 47 additions and 43 deletions

View file

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