Fix build errors

This commit is contained in:
Steven Fackler 2014-11-17 08:56:25 -08:00
parent 89f9960fe7
commit 6ba926d016
3 changed files with 4 additions and 5 deletions

View File

@ -432,8 +432,7 @@ impl InnerConnection {
let hasher = Hasher::new(MD5);
hasher.update(output.as_bytes());
hasher.update(salt);
let output = format!("md5{}",
hasher.finalize()[].to_hex());
let output = format!("md5{}", hasher.finalize()[].to_hex());
try!(self.write_messages([PasswordMessage {
password: output[]
}]));

View File

@ -87,9 +87,9 @@ macro_rules! make_postgres_type(
/// An unknown type
Unknown {
/// The name of the type
pub name: String,
name: String,
/// The OID of the type
pub oid: Oid
oid: Oid
}
}

View File

@ -9,7 +9,7 @@
// except according to those terms.
use std::fmt;
use std::from_str::FromStr;
use std::str::FromStr;
use std::hash;
use std::path::BytesContainer;
use std::num;