mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Fix wiki links and char_lit_as_u8
This commit is contained in:
parent
9110b6eb60
commit
71b41b6e01
@ -59,7 +59,7 @@ def parse_file(d, f):
|
||||
last_comment = []
|
||||
if not comment:
|
||||
l = line.strip()
|
||||
m = re.search(r"pub\s+([A-Z_]+)", l)
|
||||
m = re.search(r"pub\s+([A-Z_][A-Z_0-9]*)", l)
|
||||
|
||||
if m:
|
||||
name = m.group(1).lower()
|
||||
|
Loading…
Reference in New Issue
Block a user