We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f36f9 commit c824610Copy full SHA for c824610
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java
@@ -64,7 +64,7 @@ public enum DiffDriver {
64
python(List.of("^[ \\t]*((class|(async[ \\t]+)?def)[ \\t].*)$")),
65
/**
66
* Built-in diff driver for
67
- * <a href="https://doc.rust-lang.org/reference/introduction.html">java</a>
+ * <a href="https://doc.rust-lang.org/reference/introduction.html">rust</a>
68
*/
69
rust(List.of("^[\\t ]*((pub(\\([^\\)]+\\))?[\\t ]+)?"
70
+ "((async|const|unsafe|extern([\\t ]+\"[^\"]+\"))[\\t ]+)?"
0 commit comments