Skip to content

Commit

Permalink
Add Send trait marker (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojzu authored and shssoichiro committed Aug 6, 2019
1 parent 213b5ee commit 4a4999c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matching/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lazy_static! {
};
}

trait Matcher: Sync {
trait Matcher: Send + Sync {
fn get_matches(&self, password: &str, user_inputs: &HashMap<String, usize>) -> Vec<Match>;
}

Expand Down

0 comments on commit 4a4999c

Please sign in to comment.