Skip to main content

extract_str

Function extract_str 

Source
pub fn extract_str<'a>(_slot: &'a KindedSlot, label: &str) -> Result<&'a str>
Expand description

Extract a string reference from an intrinsic argument. Phase 1.B reads the slot bits as Arc<String>::into_raw-shaped per registered string param; returns the borrowed string.