diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-03-30 15:11:08 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-03-30 15:11:08 -0400 |
commit | 554f06d72aeb639548314336b2318e14f8ffcc7e (patch) | |
tree | 4f3346fdd7b9302ccaa82089cd7eceff4d8b28de /src/config | |
parent | f56511becd2be285ff2ce74269113384856aaa95 (diff) |
move view struct out of Context and pass in as a separate argument
- rename static variables to all caps
- change index to be Option<usize> rather than i32 where -1 means
the directory is empty
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/keymap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/keymap.rs b/src/config/keymap.rs index 979f68d..5fd79cd 100644 --- a/src/config/keymap.rs +++ b/src/config/keymap.rs @@ -1,6 +1,6 @@ use serde_derive::Deserialize; -use std::collections::HashMap; use std::collections::hash_map; +use std::collections::HashMap; use std::process::exit; use crate::commands; |