Skip to content

Commit

Permalink
fix macro_export
Browse files Browse the repository at this point in the history
  • Loading branch information
lpabon committed Jul 13, 2017
1 parent 5ed78be commit 68469c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ macro_rules! require {
})
}

#[macro_export]
/// Postcondition tests
///
/// This macro is used to assert postconditions. Any variables passed
Expand Down Expand Up @@ -163,6 +162,7 @@ macro_rules! require {
/// let a = foo(10, -100);
/// }
/// ```
#[macro_export]
macro_rules! ensure {
($cond:expr) => (if cfg!(debug_assertions) {
dbc_panic!("ENSURE", $cond)
Expand Down

0 comments on commit 68469c5

Please sign in to comment.