mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Auto merge of #7478 - frewsxcv:spec-link-tidy-fix, r=jdm
Update spec link pattern to reflect `impl` signature changes Relevant to #7416 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7478) <!-- Reviewable:end -->
This commit is contained in:
commit
7474b29510
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ def check_spec(file_name, contents):
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
file_name = os.path.relpath(os.path.splitext(file_name)[0], base_path)
|
file_name = os.path.relpath(os.path.splitext(file_name)[0], base_path)
|
||||||
patt = re.compile("^\s*\/\/.+")
|
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)
|
contents = contents.splitlines(True)
|
||||||
brace_count = 0
|
brace_count = 0
|
||||||
in_impl = False
|
in_impl = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue