servo: Merge #7478 - Update spec link pattern to reflect impl signature changes (from frewsxcv:spec-link-tidy-fix); r=jdm
Relevant to #7416 Source-Repo: https://github.com/servo/servo Source-Revision: 7474b295104e75c013849e104704019dc4801c91
This commit is contained in:
@@ -323,7 +323,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
|
||||
|
||||
Reference in New Issue
Block a user