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.