]> source.dussan.org Git - jgit.git/commitdiff
DiffDriver: fix doc for rust built-in 12/1204412/1
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>
Wed, 20 Nov 2024 23:22:11 +0000 (15:22 -0800)
committerKaushik Lingarkar <quic_kaushikl@quicinc.com>
Wed, 20 Nov 2024 23:22:11 +0000 (15:22 -0800)
Change-Id: Ic430686dc41ecbd8d8d19068416bc18ba2d94f3f

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

index 9873980ff146023d1393f6fc86dfa74a2ad3ff6e..b74444400ed98c23efcc46da8047520bd803d5f1 100644 (file)
@@ -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 ]+)?"