mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Update spec link pattern to reflect impl
signature changes
Relevant to #7416
This commit is contained in:
parent
aee011a524
commit
20c0af8b7d
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ def check_spec(file_name, contents):
|
|||
raise StopIteration
|
||||
file_name = os.path.relpath(os.path.splitext(file_name)[0], base_path)
|
||||
patt = re.compile("^\s*\/\/.+")
|
||||
pattern = "impl<'a> %sMethods for &'a %s {" % (file_name, file_name)
|
||||
pattern = "impl %sMethods for %s {" % (file_name, file_name)
|
||||
contents = contents.splitlines(True)
|
||||
brace_count = 0
|
||||
in_impl = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue