Update toss

This commit is contained in:
Joscha 2022-08-01 19:13:06 +02:00
parent 32bb9898dc
commit 2d1c953250
7 changed files with 34 additions and 33 deletions

View file

@ -43,11 +43,11 @@ impl Msg for LogMsg {
Level::Trace => ContentStyle::default().bold().magenta(),
};
let text = format!("{}", self.level);
Styled::new((text, style))
Styled::new(text, style)
}
fn content(&self) -> Styled {
Styled::new(&self.content)
Styled::new_plain(&self.content)
}
fn last_possible_id() -> Self::Id {