target letterset as arg

This commit is contained in:
mehbark 2026-07-07 16:02:25 -04:00
parent 1222162bd6
commit 0ce60e52ff
2 changed files with 2 additions and 6 deletions

View file

@ -6,4 +6,4 @@ edition = "2024"
[dependencies] [dependencies]
[profile.release] [profile.release]
debug = true # debug = true

View file

@ -18,11 +18,7 @@ fn main() {
"{:#?}", "{:#?}",
solve( solve(
&dictionary, &dictionary,
LetterSet::from( env::args().nth(1).map_or(LetterSet::FULL, LetterSet::from)
env::args()
.nth(1)
.expect("give me the letters you want NOW")
)
) )
); );
} }