MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / ident

Function ident

flow-derive/src/lit.rs:20–22  ·  view source on GitHub ↗
(lit: impl AsRef<str>)

Source from the content-addressed store, hash-verified

18}
19
20pub fn ident(lit: impl AsRef<str>) -> Ident {
21 Ident::new(lit.as_ref(), Span::call_site())
22}

Callers 5

expandFunction · 0.85
extract_portsFunction · 0.85
feature_expandFunction · 0.85
ports_expandFunction · 0.85
expandFunction · 0.85

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected