throw an error if the top left corner is found below the bottom right corner

This commit is contained in:
Tamo
2023-02-06 17:50:47 +01:00
parent 1b005f697d
commit 7a38fe624f
4 changed files with 28 additions and 11 deletions

View File

@ -319,7 +319,7 @@ impl fmt::Debug for Search<'_> {
}
}
#[derive(Default)]
#[derive(Default, Debug)]
pub struct SearchResult {
pub matching_words: MatchingWords,
pub candidates: RoaringBitmap,