mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 20:20:57 -05:00
f47b363f71
* Add linter for Rust - add 2015 edition - add 2018 edition * Add tap reports - add tap reports - fix good test case * 1 command=lesslayers Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
7 lines
315 B
Rust
7 lines
315 B
Rust
// 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)), });
|
|
}
|