Merge pull request #181 from gwenn/clippy

Fix clippy warnings
This commit is contained in:
John Gallagher
2016-12-31 01:23:40 -05:00
committed by GitHub
8 changed files with 17 additions and 19 deletions

View File

@@ -108,7 +108,6 @@ impl fmt::Display for Type {
}
#[cfg(test)]
#[cfg_attr(feature="clippy", allow(similar_names))]
mod test {
extern crate time;
@@ -209,7 +208,6 @@ mod test {
}
#[test]
#[cfg_attr(feature="clippy", allow(cyclomatic_complexity))]
fn test_mismatched_types() {
fn is_invalid_column_type(err: Error) -> bool {
match err {