[−][src]Function version_check::is_min_date
pub fn is_min_date(min_date: &str) -> Option<bool>
Checks that the running or installed rustc
was released on or after
some date.
The format of min_date
must be YYYY-MM-DD. For instance: 2016-12-20
or
2017-01-09
.
If the date cannot be retrieved or parsed, or if min_date
could not be
parsed, returns None
. Otherwise returns true
if the installed rustc
was release on or after min_date
and false
otherwise.