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 390a2de
Showing 1 changed file with 2 additions and 1 deletion.
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)]
enum HashlibCall {
New,
WeakHash(&'static str),
Expand Down

0 comments on commit 390a2de

Please sign in to comment.