mirror of
https://github.com/SinTan1729/unscrambler-rust.git
synced 2025-04-16 07:57:43 -05:00
bug fixing
This commit is contained in:
parent
54151e9cd8
commit
581abc9fc6
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,7 @@ fn main() {
|
|||
None => (),
|
||||
_ => {
|
||||
println!("Please enter only one scrambled word.");
|
||||
std::process::exit(1);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,6 @@ fn main() {
|
|||
// print output
|
||||
if indices.len() == 0 {
|
||||
println!("No matches found!");
|
||||
std::process::exit(1);
|
||||
} else {
|
||||
println!("The matched words are:");
|
||||
for index in indices {
|
||||
|
|
Loading…
Reference in a new issue