1
0
Fork 0
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:
Sayantan Santra 2023-09-19 18:11:29 -05:00
parent ac82396584
commit 1ee7ebe847
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -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()
) )
} }