Skip to content

Commit

Permalink
Make enums copy
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Mar 11, 2024
1 parent eeb7a04 commit d02f7b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,13 @@ fn is_used_for_security(arguments: &Arguments) -> bool {
.map_or(true, |keyword| !is_const_false(&keyword.value))
}

#[derive(Debug, Copy, Clone)]
enum WeakHashCall {
Hashlib { call: HashlibCall },
Crypt,
}

#[derive(Debug)]
#[derive(Debug, Copy, Clone, Debug)]
enum HashlibCall {
New,
WeakHash(&'static str),
Expand Down

0 comments on commit d02f7b3

Please sign in to comment.