rustc_session::options::parse

Function parse_number

Source
pub(crate) fn parse_number<T: Copy + FromStr>(
    slot: &mut T,
    v: Option<&str>,
) -> bool
Expand description

Use this for any numeric option that has a static default.