summaryrefslogtreecommitdiffstats
path: root/src/handlers/draw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers/draw.rs')
-rw-r--r--src/handlers/draw.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/handlers/draw.rs b/src/handlers/draw.rs
index d73a31fc..2e665585 100644
--- a/src/handlers/draw.rs
+++ b/src/handlers/draw.rs
@@ -62,7 +62,7 @@ fn write_no_decoration(
_decoration_style: ansi_term::Style,
) -> std::io::Result<()> {
if text_style.is_raw {
- writeln!(writer, "{}", raw_text)?;
+ writeln!(writer, "{raw_text}")?;
} else {
writeln!(writer, "{}", paint_text(text_style, text, addendum))?;
}
@@ -233,7 +233,7 @@ fn _write_under_or_over_lined(
_ => write_line(writer)?,
}
if text_style.is_raw {
- writeln!(writer, "{}", raw_text)?;
+ writeln!(writer, "{raw_text}")?;
} else {
writeln!(writer, "{}", paint_text(text_style, text, addendum))?;
}
@@ -319,7 +319,7 @@ fn write_boxed_partial(
decoration_style.paint(down_left),
)?;
if text_style.is_raw {
- write!(writer, "{}", raw_text)?;
+ write!(writer, "{raw_text}")?;
} else {
write!(writer, "{}", paint_text(text_style, text, addendum))?;
}