Rustfmt
This commit is contained in:
parent
4f37625cd6
commit
f79e98e07a
@ -217,7 +217,7 @@ impl<'a> Row<'a> {
|
||||
{
|
||||
let idx = match idx.idx(self.stmt) {
|
||||
Some(idx) => idx,
|
||||
None => return None
|
||||
None => return None,
|
||||
};
|
||||
|
||||
let ty = self.stmt.columns()[idx].type_();
|
||||
|
@ -435,8 +435,7 @@ impl<'conn> Statement<'conn> {
|
||||
ReadyForQuery { .. } => {
|
||||
return Err(Error::Io(io::Error::new(io::ErrorKind::InvalidInput,
|
||||
"called `copy_out` on a \
|
||||
non-`COPY TO STDOUT` \
|
||||
statement")));
|
||||
non-`COPY TO STDOUT` statement")));
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user