mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
tidy: Update pattern for checking for missing specification links. (#34552)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
bd37d5496d
commit
064569ff3c
3 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue