##// END OF EJS Templates
hg-core: minor code style change (D8958#inline-14986 followup)...
Antoine cezar -
r46166:a886ffd2 default
parent child Browse files
Show More
@@ -100,10 +100,7 b" impl<'a> Index<'a> {"
100
100
101 // Override the offset of the first revision as its bytes are used
101 // Override the offset of the first revision as its bytes are used
102 // for the index's metadata (saving space because it is always 0)
102 // for the index's metadata (saving space because it is always 0)
103 let offset_override = match rev {
103 let offset_override = if rev == 0 { Some(0) } else { None };
104 0 => Some(0),
105 _ => None,
106 };
107
104
108 Some(IndexEntry {
105 Some(IndexEntry {
109 bytes,
106 bytes,
General Comments 0
You need to be logged in to leave comments. Login now