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

Function write_list

cranelift/codegen/src/ir/extfunc.rs:107–118  ·  view source on GitHub ↗
(f: &mut fmt::Formatter, args: &[AbiParam])

Source from the content-addressed store, hash-verified

105}
106
107fn write_list(f: &mut fmt::Formatter, args: &[AbiParam]) -> fmt::Result {
108 match args.split_first() {
109 None => {}
110 Some((first, rest)) => {
111 write!(f, "{first}")?;
112 for arg in rest {
113 write!(f, ", {arg}")?;
114 }
115 }
116 }
117 Ok(())
118}
119
120impl fmt::Display for Signature {
121 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

Callers 1

fmtMethod · 0.85

Calls 1

OkFunction · 0.85

Tested by

no test coverage detected