##// END OF EJS Templates
rust-clippy: factor an `if` with the same duplicated clause...
Raphaël Gomès -
r50812:4c71c215 default
parent child Browse files
Show More
@@ -111,9 +111,7 b' impl Revlog {'
111 Some(Box::new(data_mmap))
111 Some(Box::new(data_mmap))
112 };
112 };
113
113
114 let nodemap = if index.is_inline() {
114 let nodemap = if index.is_inline() || !use_nodemap {
115 None
116 } else if !use_nodemap {
117 None
115 None
118 } else {
116 } else {
119 NodeMapDocket::read_from_file(store_vfs, index_path)?.map(
117 NodeMapDocket::read_from_file(store_vfs, index_path)?.map(
General Comments 0
You need to be logged in to leave comments. Login now