From cfd2cc49707093fb5e5f605559d8394ff31b08ed Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Sat, 11 Feb 2023 18:47:08 +0100 Subject: [PATCH] Minor clippy: inline format string (#8043) # Description Clippy from nightly being pedantic --- crates/nu-command/tests/commands/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/tests/commands/table.rs b/crates/nu-command/tests/commands/table.rs index 50435941c2..0111c84a66 100644 --- a/crates/nu-command/tests/commands/table.rs +++ b/crates/nu-command/tests/commands/table.rs @@ -228,7 +228,7 @@ fn table_expand_record_2() { field3: [ [ head1, head2, head3 ]; [ 1 2 3 ] [ 79 79 79 ] [ { f1: 'a string', f2: 1000 }, 1, 2 ] ],\ field4: { f1: 1, f2: 3, f3: { f1: f1, f2: f2, f3: f3 } }\ }"; - let actual = nu!(format!("{} | table --expand", structure)); + let actual = nu!(format!("{structure} | table --expand")); assert_eq!( actual.out,