From 51a43f561717e296f298c8f427e58f3e5ede4631 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 5 Oct 2021 11:14:31 -0500 Subject: [PATCH] mayve fix ci --- crates/nu-command/src/viewers/grid.rs | 2 +- crates/nu-command/src/viewers/griddle.rs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/crates/nu-command/src/viewers/grid.rs b/crates/nu-command/src/viewers/grid.rs index 36889e1d9f..56834e32b6 100644 --- a/crates/nu-command/src/viewers/grid.rs +++ b/crates/nu-command/src/viewers/grid.rs @@ -13,7 +13,7 @@ //! needed. For example: //! //! ```rust -//! use grid::{Grid, GridOptions, Direction, Filling, Cell}; +//! use super::grid::{Grid, GridOptions, Direction, Filling, Cell}; //! //! let mut grid = Grid::new(GridOptions { //! filling: Filling::Spaces(1), diff --git a/crates/nu-command/src/viewers/griddle.rs b/crates/nu-command/src/viewers/griddle.rs index 4d5c7fb1cd..3a9d7433cb 100644 --- a/crates/nu-command/src/viewers/griddle.rs +++ b/crates/nu-command/src/viewers/griddle.rs @@ -1,8 +1,3 @@ -// use nu_protocol::ast::{Call, PathMember}; -// use nu_protocol::engine::{Command, EvaluationContext}; -// use nu_protocol::{Signature, Span, Spanned, SyntaxShape, Value}; -// use nu_table::StyledString; -// use std::collections::HashMap; use super::grid::{Alignment, Cell, Direction, Filling, Grid, GridOptions}; use nu_engine::CallExt; use nu_protocol::{ @@ -10,7 +5,7 @@ use nu_protocol::{ engine::{Command, EvaluationContext}, Signature, Span, SyntaxShape, Value, }; -use terminal_size::{Height, Width}; +use terminal_size::{Height, Width}; //{Alignment, Cell, Direction, Filling, Grid, GridOptions}; pub struct Griddle;