Skip to content

Commit

Permalink
Remove unused rollback macro
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed May 27, 2017
1 parent 60cacd3 commit 5fa659b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,6 @@ impl Value {
}
}

macro_rules! rollback {
($x:ident) => (match $x {
Ok(x) => x.rollback(),
Err(Error::FromValueError(x)) => x,
_ => unreachable!(),
});
}

/// Will *panic* if could not convert `row` to `T`.
#[inline]
pub fn from_row<T: FromRow>(row: Row) -> T {
Expand Down

0 comments on commit 5fa659b

Please sign in to comment.