diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/alignment_2633/block_style.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/alignment_2633/block_style.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/alignment_2633/block_style.rs b/src/tools/rustfmt/tests/target/alignment_2633/block_style.rs new file mode 100644 index 000000000..f13e8a876 --- /dev/null +++ b/src/tools/rustfmt/tests/target/alignment_2633/block_style.rs @@ -0,0 +1,10 @@ +// rustfmt-struct_field_align_threshold: 50 + +fn func() { + Ok(ServerInformation { + name: unwrap_message_string(items.get(0)), + vendor: unwrap_message_string(items.get(1)), + version: unwrap_message_string(items.get(2)), + spec_version: unwrap_message_string(items.get(3)), + }); +} |