style: Remove unused HashMap import and remove namespacing around Table.

Bug: 1499359
Reviewed-by: emilio
This commit is contained in:
Benjamin Bouvier 2018-10-16 15:17:10 +02:00 committed by Emilio Cobos Álvarez
parent c9d39b2b19
commit ff34daa384
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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),
}