From 8568c77d6eeb120492406b31af6d11dcefc5a25d Mon Sep 17 00:00:00 2001 From: cadwgan0 <58019185+cadwgan0@users.noreply.github.com> Date: Wed, 15 Jan 2020 07:00:33 -0500 Subject: [PATCH] explicit str, rustc 1.34.0 doesn't seem to pick this up otherwise (#3191) --- src/bin/tui/logs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/tui/logs.rs b/src/bin/tui/logs.rs index de9b437dc..e42ff675e 100644 --- a/src/bin/tui/logs.rs +++ b/src/bin/tui/logs.rs @@ -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 = LinesIterator::new(&log_message, printer.size.x).collect(); rows.reverse(); // So stack traces are in the right order. for row in rows {