diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:46 -0700 |
commit | dc53e7bc20347778cafb80d41bc37ce1a8902d55 (patch) | |
tree | f12e0dc0ede2d7b984a65940a597b0b227331450 /t | |
parent | Merge branch 'js/userdiff-php' (diff) | |
parent | userdiff: recognize 'macro_rules!' as starting a Rust function block (diff) | |
download | tgif-dc53e7bc20347778cafb80d41bc37ce1a8902d55.tar.xz |
Merge branch 'kb/userdiff-rust-macro-rules'
Userdiff for Rust update.
* kb/userdiff-rust-macro-rules:
userdiff: recognize 'macro_rules!' as starting a Rust function block
Diffstat (limited to 't')
-rw-r--r-- | t/t4018/rust-macro-rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4018/rust-macro-rules b/t/t4018/rust-macro-rules new file mode 100644 index 0000000000..ec610c5b62 --- /dev/null +++ b/t/t4018/rust-macro-rules @@ -0,0 +1,6 @@ +macro_rules! RIGHT { + () => { + // a comment + let x = ChangeMe; + }; +} |