mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-14 22:30:30 +03:00
[sc-441] Fix CI warnings
This commit is contained in:
parent
0fc957ea6e
commit
7b859fc41e
@ -42,6 +42,7 @@
|
||||
"namegen",
|
||||
"nams",
|
||||
"numop",
|
||||
"nums",
|
||||
"oper",
|
||||
"opre",
|
||||
"oprune",
|
||||
|
@ -405,12 +405,10 @@ where
|
||||
.map(Pattern::Lst)
|
||||
.boxed();
|
||||
|
||||
let num_val = any()
|
||||
.filter(|t| matches!(t, Token::Num(_)))
|
||||
.map(|t| {
|
||||
let Token::Num(n) = t else { unreachable!() };
|
||||
n
|
||||
});
|
||||
let num_val = any().filter(|t| matches!(t, Token::Num(_))).map(|t| {
|
||||
let Token::Num(n) = t else { unreachable!() };
|
||||
n
|
||||
});
|
||||
|
||||
let num = num_val.map(|n| Pattern::Num(NumCtr::Num(n))).labelled("<Num>");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user