From cdcc1fbbddfdae75ae6ec2fd16081bbd5c2483af Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 22 Jul 2022 00:08:53 -0700 Subject: [PATCH] types: list: remove unused imports --- crates/types/src/compound/list/flat.rs | 2 +- crates/types/src/compound/list/linked.rs | 2 +- crates/types/src/compound/list/tuple_consumer.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/types/src/compound/list/flat.rs b/crates/types/src/compound/list/flat.rs index b5838c1..508f43a 100644 --- a/crates/types/src/compound/list/flat.rs +++ b/crates/types/src/compound/list/flat.rs @@ -1,4 +1,4 @@ -use crate::compound::peano::{LessThan, P0, P1, P2, P3, Peano, PeanoNonZero, PNext}; +use crate::compound::peano::{P0, P1, P2, P3, Peano, PeanoNonZero, PNext}; #[cfg(feature = "serde")] use serde::{Serialize, Deserialize}; diff --git a/crates/types/src/compound/list/linked.rs b/crates/types/src/compound/list/linked.rs index f8621dd..1bdcf18 100644 --- a/crates/types/src/compound/list/linked.rs +++ b/crates/types/src/compound/list/linked.rs @@ -1,4 +1,4 @@ -use crate::compound::peano::{LessThan, P0, Peano, PNext, PeanoNonZero}; +use crate::compound::peano::{P0, Peano, PeanoNonZero}; #[cfg(feature = "serde")] use serde::{Serialize, Deserialize}; diff --git a/crates/types/src/compound/list/tuple_consumer.rs b/crates/types/src/compound/list/tuple_consumer.rs index 45fe33e..8e59604 100644 --- a/crates/types/src/compound/list/tuple_consumer.rs +++ b/crates/types/src/compound/list/tuple_consumer.rs @@ -1,4 +1,4 @@ -use crate::compound::peano::{P0, Peano, PNext}; +use crate::compound::peano::{P0, PNext}; #[cfg(feature = "serde")] use serde::{Serialize, Deserialize}; @@ -123,7 +123,6 @@ impl List { mod test { use super::*; use crate::compound::peano::{P1, P2}; - use core::cell::Cell; #[test] fn get() {