From 7483b922e8b20a2805f3d891abfa93450086ccf8 Mon Sep 17 00:00:00 2001 From: eslopfer Date: Wed, 16 Nov 2022 17:37:55 +0000 Subject: [PATCH] docs(check_user_name): use backticks instead of asterisks` --- subjects/check_user_name/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/check_user_name/README.md b/subjects/check_user_name/README.md index 6abf92e1d..d1be8780c 100644 --- a/subjects/check_user_name/README.md +++ b/subjects/check_user_name/README.md @@ -15,8 +15,8 @@ You will also have to create a `User` struct which has: - `acessLevel`: `enum` - Associated functions: - `new`: which initializes the struct. - - `send_name`: which takes only **self** as argument and returns an **Option<&str>** with `None` if the user is a guest or the `name` if the `AccessLevel` has any of the other options. - - `check_user_name`: which takes a `User`, calls `send_name` and returns a **tuple** with `true` and the user `name` if `send_name` returns the name or `false` and `"Error: User is guest"` if not + - `send_name`: which takes only `self` as argument and returns an `Option<&str>` with `None` if the user is a guest or the `name` if the `AccessLevel` has any of the other options. + - `check_user_name`: which takes a `User`, calls `send_name` and returns a `tuple` with `true` and the user `name` if `send_name` returns the name or `false` and `"Error: User is guest"` if not ### Expected Functions and Data Structures