summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passwords.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/passwords.rs b/passwords.rs
index db2fd9e..cb1f93e 100644
--- a/passwords.rs
+++ b/passwords.rs
@@ -16,8 +16,8 @@ fn main() {
let range = |a, b| (a as u8..b as u8 + 1).collect::<Vec<_>>();
let patterns: Vec<Vec<u8>> = vec![
- range('a', 'z'),
- range('1', '9'),
+ range('a', 'z').into_iter().chain(range('1', '9').into_iter()).collect(),
+ vec!('a' as u8, 'c' as u8),
range('a', 'z'),
range('a', 'z'),
range('a', 'z')