cargo clippy/fix
This commit is contained in:
@@ -148,7 +148,7 @@ impl<'a> ConversationPrinter<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Display for ConversationPrinter<'a> {
|
||||
impl Display for ConversationPrinter<'_> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
self.doc.render_fmt(180, f)
|
||||
}
|
||||
@@ -158,7 +158,7 @@ pub struct MessagePrinter<'a> {
|
||||
doc: RcDoc<'a, PrintableMessage>
|
||||
}
|
||||
|
||||
impl<'a> Display for MessagePrinter<'a> {
|
||||
impl Display for MessagePrinter<'_> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
self.doc.render_fmt(180, f)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user