Skip to content

Commit c824610

Browse files
committed
DiffDriver: fix doc for rust built-in
Change-Id: Ic430686dc41ecbd8d8d19068416bc18ba2d94f3f
1 parent 48f36f9 commit c824610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public enum DiffDriver {
6464
python(List.of("^[ \\t]*((class|(async[ \\t]+)?def)[ \\t].*)$")),
6565
/**
6666
* Built-in diff driver for
67-
* <a href="https://doc.rust-lang.org/reference/introduction.html">java</a>
67+
* <a href="https://doc.rust-lang.org/reference/introduction.html">rust</a>
6868
*/
6969
rust(List.of("^[\\t ]*((pub(\\([^\\)]+\\))?[\\t ]+)?"
7070
+ "((async|const|unsafe|extern([\\t ]+\"[^\"]+\"))[\\t ]+)?"

0 commit comments

Comments
 (0)