mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-18 15:20:15 +01:00
Remove useless parentheses
This commit is contained in:
parent
e26c839d1a
commit
d30d4f36cd
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl User {
|
|||
#[must_use]
|
||||
pub fn full_name(&self) -> String {
|
||||
match &self.last_name {
|
||||
Some(last_name) => (format!("{0} {1}", self.first_name, last_name)),
|
||||
Some(last_name) => format!("{0} {1}", self.first_name, last_name),
|
||||
None => self.first_name.clone(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue