MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / to_vec

Method to_vec

tests/disas.rs:139–144  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

137
138impl TestConfigFlags {
139 fn to_vec(&self) -> Vec<&str> {
140 match self {
141 TestConfigFlags::SpaceSeparated(s) => s.split_whitespace().collect(),
142 TestConfigFlags::List(s) => s.iter().map(|s| s.as_str()).collect(),
143 }
144 }
145}
146
147struct Test {

Callers 2

newMethod · 0.45
assert_outputFunction · 0.45

Calls 4

collectMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected