proof: remove the unused Patterns::from_parts

It came in with the first proofing commit (bcbe09df8) and has never had a caller; `#[allow(dead_code)]` kept the warning quiet. Because it is `pub(crate)`, nothing outside wordcraft-proof can reach it.
This commit is contained in:
VoiceLessQ committed 2026-10-25 01:21:48 -02:00
1 parent 330502fd0b
commit cdd1b413e9
1 file changed
-5
-5
View File
@@ -217,11 +217,6 @@ impl Patterns {
self.exceptions.len()
}
#[allow(dead_code)]
pub(crate) fn from_parts(alpha: Alphabet, map: FxMap<u128, Box<[u8]>>, max_len: usize) -> Patterns {
Patterns { alpha, map, max_len, exceptions: HashMap::new() }
}
/// Make `letters` part of the alphabet even if no pattern mentions them.
pub fn add_letters(&mut self, letters: impl IntoIterator<Item = char>) {
for c in letters {