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

Function fmt_debug

cranelift/entity/src/set.rs:312–318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310
311 #[test]
312 fn fmt_debug() {
313 let mut s = EntitySet::new();
314 s.insert(E(2));
315 s.insert(E(4));
316 // The `Debug` formatting should only show the elements within the set.
317 assert_eq!(format!("{s:?}"), "{E(2), E(4)}");
318 }
319}

Callers

nothing calls this directly

Calls 3

EClass · 0.70
newFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected