Remove useless assignment

This commit is contained in:
Steven Fackler 2013-12-02 23:04:44 -08:00
parent 64b119359d
commit d988fc2482

8
lib.rs
View File

@ -515,12 +515,10 @@ impl InnerPostgresConnection {
let result_desc = match self.read_message() {
RowDescription { descriptions } => {
let res: ~[ResultDescription] = descriptions
.move_iter().map(|desc| {
descriptions.move_iter().map(|desc| {
ResultDescription::from_row_description_entry(desc)
}).collect();
res
},
}).collect()
}
NoData => ~[],
_ => unreachable!()
};