Satisfy clippy
This commit is contained in:
parent
5acf49d018
commit
20186bda5c
2 changed files with 6 additions and 4 deletions
|
|
@ -265,13 +265,13 @@ impl Rooms {
|
|||
match (status, unseen) {
|
||||
(None, None) => Styled::default(),
|
||||
(None, Some(u)) => Styled::new_plain(" (")
|
||||
.then(&u, unseen_style)
|
||||
.then(u, unseen_style)
|
||||
.then_plain(")"),
|
||||
(Some(s), None) => Styled::new_plain(" (").then_plain(&s).then_plain(")"),
|
||||
(Some(s), None) => Styled::new_plain(" (").then_plain(s).then_plain(")"),
|
||||
(Some(s), Some(u)) => Styled::new_plain(" (")
|
||||
.then_plain(&s)
|
||||
.then_plain(s)
|
||||
.then_plain(", ")
|
||||
.then(&u, unseen_style)
|
||||
.then(u, unseen_style)
|
||||
.then_plain(")"),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue