mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix tutorial breakage.
This commit is contained in:
@@ -44,12 +44,7 @@ macro_rules! early_return(
|
||||
}
|
||||
);
|
||||
);
|
||||
~~~~
|
||||
|
||||
Now, we can replace each `match` with an invocation of the `early_return`
|
||||
macro:
|
||||
|
||||
~~~~
|
||||
// ...
|
||||
early_return!(input_1 special_a);
|
||||
// ...
|
||||
early_return!(input_2 special_b);
|
||||
|
||||
Reference in New Issue
Block a user