mirror of
https://github.com/nushell/nushell.git
synced 2025-08-11 22:20:02 +02:00
&str -> Text
This commit is contained in:
@ -31,7 +31,7 @@ impl RenderView for GenericView<'value> {
|
||||
|
||||
b @ Value::Block(_) => {
|
||||
let printed = b.format_leaf(None);
|
||||
let view = EntriesView::from_value(&Value::string(&printed));
|
||||
let view = EntriesView::from_value(&Value::string(printed));
|
||||
view.render_view(host)?;
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user