Skip to content

Commit

Permalink
Remove macro interval!($s:expr, exact)
Browse files Browse the repository at this point in the history
  • Loading branch information
unageek committed Jul 2, 2022
1 parent 4776344 commit fa7ea99
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/interval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,6 @@ macro_rules! interval {
$s.parse::<$crate::Interval>()
}};

($s:expr, exact) => {{
use ::std::primitive::*;
fn is_str(_: &str) {}
is_str($s);
$crate::Interval::_try_from_str_exact($s)
}};

($a:expr, $b:expr) => {
$crate::_interval!($a, $b)
};
Expand Down

0 comments on commit fa7ea99

Please sign in to comment.