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

Function disas_list

pulley/src/disas.rs:219–228  ·  view source on GitHub ↗
(position: usize, disas: &mut String, iter: impl IntoIterator<Item = T>)

Source from the content-addressed store, hash-verified

217}
218
219fn disas_list<T: Disas>(position: usize, disas: &mut String, iter: impl IntoIterator<Item = T>) {
220 let mut iter = iter.into_iter();
221 let Some(first) = iter.next() else { return };
222 first.disas(position, disas);
223
224 for item in iter {
225 write!(disas, ", ").unwrap();
226 item.disas(position, disas);
227 }
228}
229
230impl<D, S1, S2> Disas for BinaryOperands<D, S1, S2>
231where

Callers 1

disasMethod · 0.85

Calls 4

disasMethod · 0.80
into_iterMethod · 0.45
nextMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected