From 1e4014aa72a7552d2f69b81ad89d56e035354041 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 6 Aug 2023 21:15:50 -0400 Subject: clippy --- src/attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/attrs.rs') diff --git a/src/attrs.rs b/src/attrs.rs index e5a2b8e..e5ee3fb 100644 --- a/src/attrs.rs +++ b/src/attrs.rs @@ -86,7 +86,7 @@ impl Attrs { other: &Self, ) { if self != other && self == &Self::default() { - crate::term::ClearAttrs::default().write_buf(contents); + crate::term::ClearAttrs.write_buf(contents); return; } -- cgit v1.2.3-54-g00ecf