We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4019df4 commit 0a72666Copy full SHA for 0a72666
src/lib.rs
@@ -210,7 +210,7 @@ macro_rules! __if_chain {
210
$($other)+
211
}
212
};
213
- // `if let` with multiple matterns and a fallback (if present)
+ // `if let` with multiple patterns and a fallback (if present)
214
(@expand { $($other:tt)* } if let $pat1:pat | $($pat:pat)|+ = $expr:expr; $($tt:tt)+) => {
215
match $expr {
216
$pat1 | $($pat)|+ => { __if_chain! { @expand { $($other)* } $($tt)+ } },
0 commit comments