Skip to content

Commit

Permalink
Be more flexible with identifying Rust comments
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel McCallum <[email protected]>
  • Loading branch information
npmccallum committed Jul 15, 2021
1 parent 1d7f186 commit 60b35b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify-spdx-headers
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Index:
self.__languages = {
'python': Language('#+', shebang=True),
'ruby': Language('#+', shebang=True),
'rust': Language('///?', '//!', ('/\\*', '\\*/')),
'rust': Language('//+', '//!', ('/\\*', '\\*/')),
}

def language(self, path):
Expand Down

0 comments on commit 60b35b4

Please sign in to comment.