Function version_check::is_beta [−][src]
pub fn is_beta() -> Option<bool>
Determines whether the running or installed rustc
is on the beta channel.
If the version could not be determined, returns None
. Otherwise returns
Some(true)
if the running version is a beta release, and Some(false)
otherwise.