Skip to content

Commit c580d4f

Browse files
style: format code with Rustfmt
This commit fixes the style issues introduced in 71e6c26 according to the output from Rustfmt. Details: #18
1 parent 71e6c26 commit c580d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/static-btree/src/tree.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl<K: Key, R: Read + Seek> StaticBTree<K, R> {
139139
fn lower_bound_index(&mut self, key: &K) -> Result<usize, Error> {
140140
let b = self.layout.branching_factor;
141141
let mut node_idx = 0usize; // multiplied by b implicitly per formula
142-
// iterate internal layers from root (height-1) down to layer 1, if height>1
142+
// iterate internal layers from root (height-1) down to layer 1, if height>1
143143
for h in (1..self.layout.height).rev() {
144144
let node = self.read_node(h, node_idx)?;
145145
// linear scan

0 commit comments

Comments
 (0)