Skip to content

Commit 7c4b0be

Browse files
authored
Merge pull request #38 from scriptnetsthlm/master
Update gender function to include female
2 parents f33e977 + 551b159 commit 7c4b0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/person.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn ssn() -> String {
3838
}
3939

4040
pub fn gender() -> String {
41-
match misc::random(1, 2) {
41+
match misc::random(1, 3) {
4242
1 => "male".to_string(),
4343
_ => "female".to_string(),
4444
}

0 commit comments

Comments
 (0)