Skip to content

Commit f063b97

Browse files
committed
Fix more breakage similar to rust-lang/rust#36340 and 11f1186
Fixes #222.
1 parent b0ddb4d commit f063b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ impl InnerConnection {
791791
let mut fields = vec![];
792792
for row in rows {
793793
let (name, type_) = {
794-
let get_raw = |i| row.get(i).and_then(|r| r.as_ref().map(|r| &**r));
794+
let get_raw = |i: usize| row.get(i).and_then(|r| r.as_ref().map(|r| &**r));
795795
let ctx = SessionInfo::new(&self.parameters);
796796
let name = try!(String::from_sql_nullable(&Type::Name, get_raw(0), &ctx)
797797
.map_err(Error::Conversion));

0 commit comments

Comments
 (0)