Fix clippy warnings

This commit is contained in:
Steven Fackler
2016-09-24 14:35:21 -07:00
parent da6ad2b821
commit 3832c53deb
5 changed files with 17 additions and 15 deletions

View File

@@ -83,6 +83,7 @@ fn make_enum(codes: &[Code], file: &mut BufWriter<File>) {
write!(file,
r#"/// SQLSTATE error codes
#[derive(PartialEq, Eq, Clone, Debug)]
#[allow(enum_variant_names)]
pub enum SqlState {{
"#
).unwrap();