From: Kaushik Lingarkar Date: Wed, 20 Nov 2024 23:22:11 +0000 (-0800) Subject: DiffDriver: fix doc for rust built-in X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F1204412%2F1;p=jgit.git DiffDriver: fix doc for rust built-in Change-Id: Ic430686dc41ecbd8d8d19068416bc18ba2d94f3f --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java index 9873980ff1..b74444400e 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java @@ -64,7 +64,7 @@ public enum DiffDriver { python(List.of("^[ \\t]*((class|(async[ \\t]+)?def)[ \\t].*)$")), /** * Built-in diff driver for - * java + * rust */ rust(List.of("^[\\t ]*((pub(\\([^\\)]+\\))?[\\t ]+)?" + "((async|const|unsafe|extern([\\t ]+\"[^\"]+\"))[\\t ]+)?"