diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-05 20:45:04 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-05 20:45:04 -0400 |
commit | ebf8e5c674322a0fe85339e57b0f6a80e51087d3 (patch) | |
tree | 0c061ac6554f4f0a19c867a74d1fdfc975377711 /src/history.rs | |
parent | 4c194de5c7e940e1eaf71c0fb4b455ba6547c880 (diff) |
cargo fmt
Diffstat (limited to 'src/history.rs')
-rw-r--r-- | src/history.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/history.rs b/src/history.rs index b5e04ae..d746c30 100644 --- a/src/history.rs +++ b/src/history.rs @@ -73,11 +73,11 @@ impl DirectoryHistory for HashMap<PathBuf, JoshutoDirList> { ) -> Result<&mut JoshutoDirList, std::io::Error> { match self.entry(path.to_path_buf().clone()) { Entry::Occupied(entry) => { -/* - if dir_entry.need_update() { - dir_entry.update_contents(&sort_option)?; - } -*/ + /* + if dir_entry.need_update() { + dir_entry.update_contents(&sort_option)?; + } + */ Ok(entry.into_mut()) } Entry::Vacant(entry) => { |