From c824610abba794a1f8f13d6ff2ec1c09590ce697 Mon Sep 17 00:00:00 2001 From: Kaushik Lingarkar Date: Wed, 20 Nov 2024 15:22:11 -0800 Subject: [PATCH] DiffDriver: fix doc for rust built-in Change-Id: Ic430686dc41ecbd8d8d19068416bc18ba2d94f3f --- org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]+)?" -- 2.39.5