From 0a087cd28bbee5fcdffbb9d49b0ba9f413ad7f92 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 24 Jan 2020 16:23:57 +0100 Subject: =?UTF-8?q?Reorganize=20modules=20=F0=9F=A7=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/syntax/func/maps.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/syntax/func/maps.rs') diff --git a/src/syntax/func/maps.rs b/src/syntax/func/maps.rs index 452c8ab1..8941024e 100644 --- a/src/syntax/func/maps.rs +++ b/src/syntax/func/maps.rs @@ -1,9 +1,11 @@ //! Deduplicating maps and keys for argument parsing. -use std::collections::HashMap; -use std::hash::Hash; -use crate::layout::{LayoutAxes, SpecificAxis, GenericAxis}; +use crate::error::Errors; +use crate::layout::prelude::*; use crate::size::{PSize, ValueBox}; +use crate::syntax::span::Spanned; +use super::keys::*; +use super::values::*; use super::*; @@ -179,7 +181,6 @@ impl PaddingMap { padding: &mut ValueBox> ) { use PaddingKey::*; - use SpecificAxis::*; let map = self.0.dedup(errors, |key, &val| { (match key { -- cgit v1.2.3