Skip to content

Commit 1c2fddc

Browse files
author
Keegan McAllister
committed
Remove unused if_ok! macro
1 parent 5382881 commit 1c2fddc

File tree

1 file changed

+0
-9
lines changed
  • src/librustc_borrowck/borrowck

1 file changed

+0
-9
lines changed

src/librustc_borrowck/borrowck/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ use syntax::visit;
3939
use syntax::visit::{Visitor, FnKind};
4040
use syntax::ast::{FnDecl, Block, NodeId};
4141

42-
macro_rules! if_ok {
43-
($inp: expr) => (
44-
match $inp {
45-
Ok(v) => { v }
46-
Err(e) => { return Err(e); }
47-
}
48-
)
49-
}
50-
5142
pub mod doc;
5243

5344
pub mod check_loans;

0 commit comments

Comments
 (0)