Skip to content

Commit

Permalink
Removed clippy warnings with #[allow(unused)].
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Jul 15, 2021
1 parent 666f12c commit 90eb635
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/alignment.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use crate::{CellOption, Table};
use crate::CellOption;
#[allow(unused)]
use crate::Table;
use papergrid::{AlignmentHorizontal, AlignmentVertical, Entity, Grid, Settings};

/// Alignment represent a horizontal and vertical alignemt setting for a [Table].
Expand Down
4 changes: 3 additions & 1 deletion src/disable.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use crate::{bounds_to_usize, Table, TableOption};
#[allow(unused)]
use crate::Table;
use crate::{bounds_to_usize, TableOption};
use papergrid::Grid;
use std::ops::RangeBounds;

Expand Down
4 changes: 2 additions & 2 deletions src/object.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#[allow(unused)]
use papergrid::Grid;
use std::{
collections::BTreeSet,
ops::{Bound, RangeBounds},
};

use papergrid::Grid;

/// Object helps to locate a nessesary part of a [Grid].
pub trait Object: Sized {
/// Cells returns a set of cordinates of cells
Expand Down
4 changes: 3 additions & 1 deletion src/panel.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use crate::{Disable, TableOption};
#[allow(unused)]
use crate::Disable;
use crate::TableOption;
use papergrid::{Entity, Grid, Settings};

/// Panel allows to add a custom panel to table.
Expand Down

0 comments on commit 90eb635

Please sign in to comment.