rust: check for literals earlier
rust: rm a useless comment