From ff34daa3842e47c83e7785cba2cbed2b5bc2ca0c Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 16 Oct 2018 15:17:10 +0200 Subject: [PATCH] style: Remove unused HashMap import and remove namespacing around Table. Bug: 1499359 Reviewed-by: emilio --- components/style/build_gecko.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs index 9db123a422f..e0dbbf5817d 100644 --- a/components/style/build_gecko.rs +++ b/components/style/build_gecko.rs @@ -17,7 +17,7 @@ mod bindings { use bindgen::{Builder, CodegenConfig}; use regex::Regex; use std::cmp; - use std::collections::{HashMap, HashSet}; + use std::collections::HashSet; use std::env; use std::fs::{self, File}; use std::io::{Read, Write}; @@ -43,7 +43,7 @@ mod bindings { .expect("Failed to open config file") .read_to_string(&mut contents) .expect("Failed to read config file"); - match toml::from_str::(&contents) { + match toml::from_str::(&contents) { Ok(result) => result, Err(e) => panic!("Failed to parse config file: {}", e), }