summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorTrevor Spiteri <tspiteri@ieee.org>2020-04-29 01:26:37 +0200
committerNathan Moreau <nathan.moreau@m4x.org>2020-05-09 11:54:21 +0200
commiteca55c068eb90aa5e1f36c6b31de589ce1df2ff1 (patch)
tree92553a851ca99c4c808c15c7bd9327759860af21 /rust-mode-tests.el
parent7fdb9c2f39de270f6d161a7163d1673fbc79b26a (diff)
downloadrust-mode-eca55c068eb90aa5e1f36c6b31de589ce1df2ff1.tar.gz
Check for -> and => early in rust-ordinary-lt-gt-p
Since the check for -> and => is very cheap, move it up in rust-ordinary-lt-gt-p potentially saving much more expensive checks. Also use simple equality check instead of regex function looking-at for checking following character.
Diffstat (limited to 'rust-mode-tests.el')
0 files changed, 0 insertions, 0 deletions