From: Marc-André Lureau Date: Thu, 16 May 2019 23:58:15 +0000 (+0200) Subject: userdiff: add built-in pattern for rust X-Git-Tag: v2.23.0-rc0~105^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d74e78602e3d562f5db64d553d4be21c201ef7b3?ds=inline;hp=d74e78602e3d562f5db64d553d4be21c201ef7b3 userdiff: add built-in pattern for rust This adds xfuncname and word_regex patterns for Rust, a quite popular programming language. It also includes test cases for the xfuncname regex (t4018) and updated documentation. The word_regex pattern finds identifiers, integers, floats and operators, according to the Rust Reference Book. Cc: Johannes Sixt Signed-off-by: Marc-André Lureau Signed-off-by: Junio C Hamano ---