foundry_config::inline::conf_parser

Function parse_config_u32

Source
pub fn parse_config_u32(
    key: String,
    value: String,
) -> Result<u32, InlineConfigParserError>
Expand description

Tries to parse a u32 from value. The key argument is used to give details in the case of an error.