소스 검색

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

ticki 8 년 전
부모
커밋
66e83e2825
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.