Update spec link pattern to reflect impl signature changes

Relevant to #7416
This commit is contained in:
Corey Farwell 2015-08-31 17:38:23 -04:00
parent aee011a524
commit 20c0af8b7d

View file

@ -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