aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authorYutaka Kamei <kamei@yykamei.me>2021-04-28 13:40:04 +0900
committerYutaka Kamei <kamei@yykamei.me>2021-04-28 14:14:27 +0900
commit82c5f505f123a3a1cc92545d39f7bd1dc8e7bea1 (patch)
tree4910359895f7099555456c14110eba61d37c67dc /src/common/errors.rs
parentMerge pull request #391 from a-kenji/config-loading (diff)
downloadsl0ppij-82c5f505f123a3a1cc92545d39f7bd1dc8e7bea1.tar.gz
sl0ppij-82c5f505f123a3a1cc92545d39f7bd1dc8e7bea1.tar.xz
sl0ppij-82c5f505f123a3a1cc92545d39f7bd1dc8e7bea1.zip
refactor(handler): refer to self.config.keybinds internally
Because `handle_key` can refer to `self.config.keybinds` by itself, it doesn't have to receive the third argument. Also, this change may slightly improve the performance as it deletes `clone()`.
Diffstat (limited to 'src/common/errors.rs')
0 files changed, 0 insertions, 0 deletions