aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/build_gecko.rs
diff options
context:
space:
mode:
authorBenjamin Bouvier <benj@benj.me>2018-10-16 15:17:10 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-10-19 00:38:36 +0200
commitff34daa3842e47c83e7785cba2cbed2b5bc2ca0c (patch)
tree44f9ccef163bd156b55c49108e38b75b399c7f6f /components/style/build_gecko.rs
parentc9d39b2b19e1cfef3d819a1d39da633bdd0043db (diff)
downloadservo-ff34daa3842e47c83e7785cba2cbed2b5bc2ca0c.tar.gz
servo-ff34daa3842e47c83e7785cba2cbed2b5bc2ca0c.zip
style: Remove unused HashMap import and remove namespacing around Table.
Bug: 1499359 Reviewed-by: emilio
Diffstat (limited to 'components/style/build_gecko.rs')
-rw-r--r--components/style/build_gecko.rs4
1 files 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::<toml::value::Table>(&contents) {
+ match toml::from_str::<Table>(&contents) {
Ok(result) => result,
Err(e) => panic!("Failed to parse config file: {}", e),
}