Explorar o código

Remove occurrence of `Level(0)` in favor of `Level::min()`.

ticki %!s(int64=8) %!d(string=hai) anos
pai
achega
66e83e2825
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/bk/seek.rs

+ 1 - 1
src/bk/seek.rs

@@ -62,7 +62,7 @@ impl<'a> Seek<'a> {
 
     /// Create an iterator over all of the skips of this seek.
     fn skips(&mut self) -> impl Iterator<Item = &mut Shortcut> {
-        self.skips_from(Level(0))
+        self.skips_from(Level::min())
     }
 
     /// Create an iterator over the skips of this seek starting at some level.