Skip to content

Commit

Permalink
Fix more breakage similar to rust-lang/rust#36340 and 11f1186
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Nov 30, 2016
1 parent b0ddb4d commit f063b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ impl InnerConnection {
let mut fields = vec![];
for row in rows {
let (name, type_) = {
let get_raw = |i| row.get(i).and_then(|r| r.as_ref().map(|r| &**r));
let get_raw = |i: usize| row.get(i).and_then(|r| r.as_ref().map(|r| &**r));
let ctx = SessionInfo::new(&self.parameters);
let name = try!(String::from_sql_nullable(&Type::Name, get_raw(0), &ctx)
.map_err(Error::Conversion));
Expand Down

0 comments on commit f063b97

Please sign in to comment.