We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ff98b commit 3eb5453Copy full SHA for 3eb5453
shared/src/main/scala/scala/xml/Node.scala
@@ -123,7 +123,7 @@ abstract class Node extends NodeSeq {
123
child.toList.flatMap { x => x :: x.descendant }
124
125
/**
126
- * Descendant axis (all descendants of this node, including thisa node)
+ * Descendant axis (all descendants of this node, including this node)
127
* includes all text nodes, element nodes, comments and processing instructions.
128
*/
129
def descendant_or_self: List[Node] = this :: descendant
0 commit comments