Skip to main content

parse_module_id

Function parse_module_id 

Source
pub fn parse_module_id(input: &str) -> Result<ParsedModuleId, IdParseError>
Expand description

Parse a module identifier.

Accepts either NNN or NNN_name (flexible padding); the returned id is always canonicalized to a 3-digit NNN string.