We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a0ae49 commit b1c3494Copy full SHA for b1c3494
library/test/src/formatters/pretty.rs
@@ -66,7 +66,7 @@ impl<T: Write> PrettyFormatter<T> {
66
result: &str,
67
color: term::color::Color,
68
) -> io::Result<()> {
69
- self.write_pretty(result.as_ref(), color)
+ self.write_pretty(result, color)
70
}
71
72
pub fn write_pretty(&mut self, word: &str, color: term::color::Color) -> io::Result<()> {
0 commit comments