To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 80e9203c authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri
Browse files

fixed the formatting issue

parent 0168c190
......@@ -30,19 +30,19 @@ const SUPPORTED_VERSION: [(&'static str, &'static str); 2] = [
fn main() {
let cur_ver = rustc_version::version_meta().unwrap().commit_hash.unwrap();
println!("Current version: {}", cur_ver);
// if SUPPORTED_VERSION
// .iter()
// .find(|version| version.0 == cur_ver)
// .is_none()
// {
// println!(
// "Supported versions: {}",
// SUPPORTED_VERSION
// .iter()
// .map(|x| x.1)
// .collect::<Vec<&'static str>>()
// .join(", ")
// );
// panic!("Unsupported Rust version");
// }
// if SUPPORTED_VERSION
// .iter()
// .find(|version| version.0 == cur_ver)
// .is_none()
// {
// println!(
// "Supported versions: {}",
// SUPPORTED_VERSION
// .iter()
// .map(|x| x.1)
// .collect::<Vec<&'static str>>()
// .join(", ")
// );
// panic!("Unsupported Rust version");
// }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment