Update to avoid breakage from rust-lang/rust#36340

This commit is contained in:
Steven Fackler 2016-11-24 20:59:40 -08:00 committed by GitHub
parent b4c4b692a1
commit 11f1186439

View File

@ -679,7 +679,7 @@ impl InnerConnection {
try!(self.read_rows(&mut rows));
let row = rows.pop_front();
let get_raw = |i| {
let get_raw = |i: usize| {
row.as_ref().and_then(|r| r.get(i)).and_then(|r| r.as_ref().map(|r| &**r))
};