This commit is contained in:
Karl Seguin
2025-08-19 22:01:14 +08:00
parent e4f89092b3
commit b46c181b07

View File

@@ -295,7 +295,7 @@ pub const Node = struct {
// if self is the document, and we already know other is in the
// document, then other is contained by and following self.
return @intFromEnum(parser.DocumentPosition.following) +
@intFromEnum(parser.DocumentPosition.contained_by);
@intFromEnum(parser.DocumentPosition.contained_by);
}
const rootself = try parser.nodeGetRootNode(self);