]> git.lizzy.rs Git - micro.git/commit
Update rust syntax: char literal (#2162)
authorpyfisch <pyfisch@posteo.org>
Wed, 21 Jul 2021 16:37:41 +0000 (18:37 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 16:37:41 +0000 (12:37 -0400)
commit42a9302636d1d78704cbaf174151aa3dc23c6c07
tree123afb2c561fa41cc26192937ff767174492ca18
parentae0c28a03d6a069a219965d3b89f6365c2cbf18a
Update rust syntax: char literal (#2162)

Highlight character literals started with a single quote (').
Importantly this ensures correct highlighting for the character literal '"'.
Limitation: rust char literals contain exactly one character, however this isn't checked by the highlighter.

Closes #2160
runtime/syntax/rust.yaml