Fix clippy warnings

This commit is contained in:
gwenn
2021-10-01 20:09:48 +02:00
parent e2af87f747
commit ce90b519bb
6 changed files with 22 additions and 23 deletions

View File

@@ -156,7 +156,7 @@ where
self.rows
.next()
.transpose()
.map(|row_result| row_result.and_then(|row| (map)(row)))
.map(|row_result| row_result.and_then(map))
}
}
@@ -181,7 +181,7 @@ where
self.rows
.next()
.transpose()
.map(|row_result| row_result.map_err(E::from).and_then(|row| (map)(row)))
.map(|row_result| row_result.map_err(E::from).and_then(map))
}
}