added a comment

This commit is contained in:
Maddie H 2022-11-10 07:28:54 +00:00
parent e050cb568c
commit a8c7733c0a
No known key found for this signature in database
GPG Key ID: 64FAA9959751687D

View File

@ -11,6 +11,7 @@ pub struct WelcomeMessage<'a> {
impl<'a> WelcomeMessage<'a> {
pub fn new(editor: &'a Editor<'a>) -> Self {
// The title message
let title = format!("{} {}", editor.config.logo, editor.config.friendly_name);
// The welcome message