summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/alignment_2633/visual_style.rs
blob: f34cc621e64c0f372245b5e06a1e5c3448886c38 (plain)
1
2
3
4
5
6
7
8
9
// rustfmt-struct_field_align_threshold: 50
// rustfmt-indent_style: Visual

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)), });
}