aboutsummaryrefslogtreecommitdiffstats
path: root/src/attrs.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-08-06 21:15:50 -0400
committerJesse Luehrs <doy@tozt.net>2023-08-06 21:15:50 -0400
commit1e4014aa72a7552d2f69b81ad89d56e035354041 (patch)
tree047da0aa3c06a5ac13db7eb3f2f4cbc38f820764 /src/attrs.rs
parent7a3b74ce507022c1ab9c457553506f5d4dec29af (diff)
downloadvt100-rust-main.tar.gz
vt100-rust-main.zip
clippyHEADmain
Diffstat (limited to 'src/attrs.rs')
-rw-r--r--src/attrs.rs2
1 files changed, 1 insertions, 1 deletions
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;
}