Function user_or_no_user_string
Source pub(crate) fn user_or_no_user_string(user: Option<&UserId>) -> String
Expand description
Creates a string for when there is a user or there is no user.
Creates the string the user <user> if user is Some.
Creates the string no user if user is None.