Skip to content

Commit

Permalink
suggester: Replace todo!() with a TODO comment
Browse files Browse the repository at this point in the history
Connects #2

Handling for camel and pascal case is not yet implemented but there's
no need to panic: this change replaces the `todo!()` with a TODO comment
above a no-op.
  • Loading branch information
the-mikedavis committed Oct 31, 2024
1 parent e6e543c commit 5093ad6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/suggester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ impl<'a, S: BuildHasher> Suggester<'a, S> {
*suggestion = upper;
}
}
Casing::Camel | Casing::Pascal => todo!(),
// TODO
Casing::Camel | Casing::Pascal => {}
}

if !hq_suggestions && self.checker.aff.options.max_ngram_suggestions != 0 {
Expand Down

0 comments on commit 5093ad6

Please sign in to comment.