mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
tidy: spew less chaff
This commit is contained in:
parent
ccaf0b4654
commit
041413b208
@ -52,7 +52,9 @@ try:
|
||||
report_err("TODO is deprecated; use FIXME")
|
||||
match = re.match(r'^.*//\s*(NOTE.*)$', line)
|
||||
if match:
|
||||
report_warn(match.group(1))
|
||||
m = match.group(1)
|
||||
if "snap" in m.lower():
|
||||
report_warn(match.group(1))
|
||||
match = re.match(r'^.*//\s*SNAP\s+(\w+)', line)
|
||||
if match:
|
||||
hsh = match.group(1)
|
||||
|
Loading…
Reference in New Issue
Block a user