fixed typo

This commit is contained in:
debris 2015-11-28 21:54:41 +01:00
parent da60046e3d
commit 52ccd7b094

View File

@ -74,7 +74,7 @@ impl<'a, D> ChainFilter<'a, D> where D: FilterDataSource
/// Borrows `FilterDataSource` for reading. /// Borrows `FilterDataSource` for reading.
pub fn new(data_source: &'a D, index_size: usize, levels: u8) -> Self { pub fn new(data_source: &'a D, index_size: usize, levels: u8) -> Self {
if levels == 0 { if levels == 0 {
panic!("ChainFilter requires and least 1 level"); panic!("ChainFilter requires at least 1 level");
} }
let mut filter = ChainFilter { let mut filter = ChainFilter {