Skip to content
Snippets Groups Projects
Commit c824610a authored by Kaushik Lingarkar's avatar Kaushik Lingarkar
Browse files

DiffDriver: fix doc for rust built-in

Change-Id: Ic430686dc41ecbd8d8d19068416bc18ba2d94f3f
parent 48f36f96
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ public enum DiffDriver {
python(List.of("^[ \\t]*((class|(async[ \\t]+)?def)[ \\t].*)$")),
/**
* Built-in diff driver for
* <a href="https://doc.rust-lang.org/reference/introduction.html">java</a>
* <a href="https://doc.rust-lang.org/reference/introduction.html">rust</a>
*/
rust(List.of("^[\\t ]*((pub(\\([^\\)]+\\))?[\\t ]+)?"
+ "((async|const|unsafe|extern([\\t ]+\"[^\"]+\"))[\\t ]+)?"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment