mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
explicit str, rustc 1.34.0 doesn't seem to pick this up otherwise (#3191)
This commit is contained in:
parent
c2026bd686
commit
8568c77d6e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue