aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/tidy.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-12-11 08:36:57 -0500
committerGitHub <noreply@github.com>2024-12-11 13:36:57 +0000
commit064569ff3c160da20e6d48189a03c3ef83224101 (patch)
tree7cef4575c175e3d471d187cd3880c3d4a898d3f5 /python/tidy/tidy.py
parentbd37d5496d747c7106b2d8d73dca1212421d82b4 (diff)
downloadservo-064569ff3c160da20e6d48189a03c3ef83224101.tar.gz
servo-064569ff3c160da20e6d48189a03c3ef83224101.zip
tidy: Update pattern for checking for missing specification links. (#34552)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'python/tidy/tidy.py')
-rw-r--r--python/tidy/tidy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/tidy.py b/python/tidy/tidy.py
index 55bbba0513e..4494f975ca5 100644
--- a/python/tidy/tidy.py
+++ b/python/tidy/tidy.py
@@ -905,7 +905,7 @@ def check_spec(file_name, lines):
brace_count = 0
in_impl = False
- pattern = "impl {}Methods for {} {{".format(file_name, file_name)
+ pattern = "impl {}Methods<crate::DomTypeHolder> for {} {{".format(file_name, file_name)
for idx, line in enumerate(map(lambda line: line.decode("utf-8"), lines)):
if "// check-tidy: no specs after this line" in line: