Skip to main content

parse_map_key

Function parse_map_key 

Source
pub fn parse_map_key(src: &str) -> Result<String>
Expand description

One map literal key: a string literal in any spelling or a bare ASCII identifier. Shared by static inference and runtime resolution, which report identical diagnostics.