Skip to content

Commit ba4a530

Browse files
authored
ci: fix missing argument label
1 parent 0160a59 commit ba4a530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rivet/src/ast/Node.ri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub enum Node < Stringable {
3131
}
3232

3333
pub func nodes_to_decls(nodes: []mut Node) -> []mut Decl {
34-
mut decls := []mut Decl(nodes.len);
34+
mut decls := []mut Decl(cap: nodes.len);
3535
for node in nodes {
3636
if node is .Decl(decl) {
3737
decls.push(decl);

0 commit comments

Comments
 (0)