Minor clippy: inline format string (#8043)

# Description

Clippy from nightly being pedantic
This commit is contained in:
Stefan Holderbach 2023-02-11 18:47:08 +01:00 committed by GitHub
parent 710349768f
commit cfd2cc4970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,