Function cargo::core::gc::parse_frequency
source · fn parse_frequency(frequency: &str) -> CargoResult<Option<Duration>>
Expand description
Parses a frequency string.
Returns Ok(None)
if the frequency is “never”.
fn parse_frequency(frequency: &str) -> CargoResult<Option<Duration>>
Parses a frequency string.
Returns Ok(None)
if the frequency is “never”.