Remove useless assignment
This commit is contained in:
parent
64b119359d
commit
d988fc2482
8
lib.rs
8
lib.rs
@ -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!()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user