explicit str, rustc 1.34.0 doesn't seem to pick this up otherwise
@@ -89,7 +89,7 @@ impl View for LogBufferView {
let mut i = 0;
for entry in self.buffer.iter().take(printer.size.y) {
printer.with_color(LogBufferView::color(entry.level), |p| {
- let log_message = StyledString::plain(&entry.log);
+ let log_message = StyledString::plain(entry.log.as_str());
let mut rows: Vec<Row> = LinesIterator::new(&log_message, printer.size.x).collect();
rows.reverse(); // So stack traces are in the right order.
for row in rows {
