Skip to main content

before_first_colon

Function before_first_colon 

Source
pub(crate) fn before_first_colon(s: &str) -> &str
Expand description

Strips suffix beginning at first ‘:’.