]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/htmldocck.py
Rollup merge of #101635 - jyn514:queries-new-derived, r=cjgillot
[rust.git] / src / etc / htmldocck.py
index baf95627c702820ea56bac0fea38841e73383ed6..c97fb4b805473625201e5c46b5ab339ceb10ab64 100644 (file)
@@ -386,7 +386,7 @@ def check_tree_attr(tree, path, attr, pat, regexp):
     return ret
 
 
-# Returns the number of occurences matching the regex (`regexp`) and the text (`pat`).
+# Returns the number of occurrences matching the regex (`regexp`) and the text (`pat`).
 def check_tree_text(tree, path, pat, regexp, stop_at_first):
     path = normalize_xpath(path)
     match_count = 0