Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
is_exact_date in version_check - Rust
[go: Go Back, main page]

Function is_exact_date

Source
pub fn is_exact_date(date: &str) -> Option<bool>
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.