mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
fix: Correct order for random names
This commit is contained in:
parent
ac82396584
commit
1ee7ebe847
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ fn random_name() -> String {
|
||||||
|
|
||||||
format!(
|
format!(
|
||||||
"{0}-{1}",
|
"{0}-{1}",
|
||||||
NAMES.choose(&mut rand::thread_rng()).unwrap(),
|
ADJECTIVES.choose(&mut rand::thread_rng()).unwrap(),
|
||||||
ADJECTIVES.choose(&mut rand::thread_rng()).unwrap()
|
NAMES.choose(&mut rand::thread_rng()).unwrap()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue