Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LimesKey authored Jun 6, 2023
1 parent dd717ff commit 13136e7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use round::round;

pub fn main(){
let args: Vec<String> = env::args().collect();
let args_len= args.len();

let password;
if args.len() > 1 {
password = args[1].clone();
Expand All @@ -34,12 +32,6 @@ pub fn main(){

// Pool size based on https://github.com/Kush-munot/Password-Strength-Checker
pub fn get_pool_size(password: String) -> Vec<u64> {
pub struct PoolTable {
digits: bool,
low_case: bool,
up_case: bool,
special: bool,
}

fn calculate(password: &String) -> i64 {
assert!(password.is_ascii());
Expand Down

0 comments on commit 13136e7

Please sign in to comment.