Skip to content

Commit 1065c7d

Browse files
committed
chore: Add comment about options not copied
1 parent 77945c4 commit 1065c7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pseudo-selectors/subselects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export function getNextSiblings<Node, ElementNode extends Node>(
4141
function copyOptions<Node, ElementNode extends Node>(
4242
options: InternalOptions<Node, ElementNode>
4343
): InternalOptions<Node, ElementNode> {
44+
// Not copied: context, rootFunc
4445
return {
4546
xmlMode: !!options.xmlMode,
4647
lowerCaseAttributeNames: !!options.lowerCaseAttributeNames,

0 commit comments

Comments
 (0)