parse_name_and_section in mdman::util - Rust (original) (raw)
Function parse_name_and_section
pub fn parse_name_and_section(text: &str) -> Result<(&str, u8), Error>
Expand description
Splits the text foo(1)
into “foo” and 1
.
pub fn parse_name_and_section(text: &str) -> Result<(&str, u8), Error>
Expand description
Splits the text foo(1)
into “foo” and 1
.