From c3228f73846cfb7072ad8ef35de6edb657427886 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 18 Sep 2024 00:14:56 -0400 Subject: [PATCH] chore: fix one lint in test Signed-off-by: Henry Schreiner --- rust/src/helpers/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/helpers/table.rs b/rust/src/helpers/table.rs index d83cd53..96b0fd9 100644 --- a/rust/src/helpers/table.rs +++ b/rust/src/helpers/table.rs @@ -328,7 +328,7 @@ mod tests { let root_ast = parse("[A]\nb = 1\na = 1\n\n[B]\nb = 2") .into_syntax() .clone_for_update(); - let mut tables = Tables::from_ast(&root_ast); + let tables = Tables::from_ast(&root_ast); { let table = &mut tables.get("A").unwrap().first().unwrap().borrow_mut(); reorder_table_keys(table, &["", "a", "b"]);