refactor(rust): remove redundant code
refactor(rust): remove redundant code

Amend: c05822ab3938

hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs