MCPcopy Create free account
hub / github.com/argumentcomputer/ix / meta_single_component_name

Function meta_single_component_name

crates/kernel/src/id.rs:141–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140 #[test]
141 fn meta_single_component_name() {
142 let id = KId::<Meta>::new(mk_addr("x"), mk_name("Nat"));
143 let s = format!("{id}");
144 assert!(s.starts_with("Nat@"), "got '{s}'");
145 }
146
147 #[test]
148 fn anon_shows_hash_only() {

Callers

nothing calls this directly

Calls 2

mk_addrFunction · 0.70
mk_nameFunction · 0.70

Tested by

no test coverage detected