mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
fix: Correct order for random names
This commit is contained in:
parent
ac82396584
commit
1ee7ebe847
@ -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 New Issue
Block a user