diff --git a/boa_ast/src/module_item_list/mod.rs b/boa_ast/src/module_item_list/mod.rs index 1f13500bd9c..31fed7f192b 100644 --- a/boa_ast/src/module_item_list/mod.rs +++ b/boa_ast/src/module_item_list/mod.rs @@ -46,8 +46,9 @@ where /// Module item AST node. /// -/// This is an extension over a [`StatementList`], which can also include multiple -/// [`ImportDeclaration`] and [`ExportDeclaration`] nodes. +/// This is an extension over a [`StatementList`](crate::StatementList), which can also include +/// multiple [`ImportDeclaration`] and [`ExportDeclaration`] nodes, along with +/// [`StatementListItem`] nodes. /// /// More information: /// - [ECMAScript specification][spec]