Function version_check::is_exact_date [−][src]
Expand description
Checks that the running or installed rustc
was released exactly on
some date.
The format of 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 date
could not be parsed,
returns None
. Otherwise returns true
if the installed rustc
was
release on date
and false
otherwise.