Skip to content

Commit f6d8017

Browse files
committed
wip 1
1 parent 48785a5 commit f6d8017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/parser/src/peg_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ fn make_arguments(
993993
.chain(param_with_default.iter().map(|x| x.1.clone()))
994994
.collect();
995995

996-
// TODO: refactor
996+
// TODO: refactor remove option wrap for star_etc
997997
let (vararg, kwonly, kwarg) = star_etc.unwrap_or_default();
998998
let kwonlyargs: Vec<ast::Arg> = kwonly.iter().map(|x| x.0.clone()).collect();
999999
let kw_defaults: Vec<ast::Expr> = kwonly.iter().filter_map(|x| x.1.clone()).collect();

0 commit comments

Comments
 (0)