From a9e1218ff46eba3adfb54b969f5e7acd107b1569 Mon Sep 17 00:00:00 2001 From: eslopfer Date: Wed, 16 Nov 2022 17:49:01 +0000 Subject: [PATCH] docs(check_user_name): fix incoherent number --- subjects/check_user_name/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subjects/check_user_name/README.md b/subjects/check_user_name/README.md index f5886ec60..6f3f9dff8 100644 --- a/subjects/check_user_name/README.md +++ b/subjects/check_user_name/README.md @@ -45,11 +45,11 @@ fn main() { let user0 = User::new("Didier".to_string(), AccessLevel::Admin); println!("{:?}", check_user_name(&user0)); - let user2 = User::new("Mary".to_string(), AccessLevel::Normal); - println!("{:?}", check_user_name(&user2)); + let user1 = User::new("Mary".to_string(), AccessLevel::Normal); + println!("{:?}", check_user_name(&user1)); - let user3 = User::new("John".to_string(), AccessLevel::Guest); - println!("{:?}", check_user_name(&user3)); + let user2 = User::new("John".to_string(), AccessLevel::Guest); + println!("{:?}", check_user_name(&user2)); } ```