Skip to content

Commit

Permalink
Change qgram_score() panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
iKevinY committed Mar 15, 2017
1 parent 770f88c commit 34b4b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decrypt.rs
Expand Up @@ -72,7 +72,7 @@ pub fn qgram_score(msg: &str) -> f64 {
.collect();

if char_indices.len() < 4 {
panic!("Input string must be longer than 4 characters.");
panic!("Message must contain more than 4 alphabetic characters.");
}

char_indices.windows(4)
Expand Down

0 comments on commit 34b4b2f

Please sign in to comment.