mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-27 00:21:01 -05:00
071bfadcf0
* Add RUST_2021 test * Add files to ARRAY_RUST_2021
8 lines
266 B
Rust
8 lines
266 B
Rust
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)),
|
|
});
|
|
}
|