Skip to content

Commit

Permalink
Merge pull request #36 from Endle/revert2
Browse files Browse the repository at this point in the history
Revert changes by nakeep "allow compilation time checks"
  • Loading branch information
oli-obk authored Jul 28, 2021
2 parents b0e8ce7 + 5571834 commit e84bc28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ macro_rules! try_scan(
($pattern:expr, $($arg:expr),*) => {
use ::std::io::Read;
$crate::try_scan!(::std::io::stdin().bytes().map(std::result::Result::unwrap) => $pattern, $($arg),*);
format_args!($pattern, $($arg),*);
};
($input:expr => $pattern:expr, $($arg:expr),*) => {{
$crate::try_scan!(@impl question_mark; $input => $pattern, $($arg),*)
Expand Down Expand Up @@ -224,7 +223,6 @@ macro_rules! scan(
($text:expr, $($arg:expr),*) => {
use ::std::io::Read;
$crate::scan!(::std::io::stdin().bytes().map(std::result::Result::unwrap) => $text, $($arg),*);
format_args!($text, $($arg),*);
};
($input:expr => $pattern:expr, $($arg:expr),*) => {{
$crate::try_scan!(@impl unwrap; $input => $pattern, $($arg),*)
Expand Down

0 comments on commit e84bc28

Please sign in to comment.