From 1ee7ebe8478cc1344f468b13ccbe193c00a70173 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 19 Sep 2023 18:11:29 -0500 Subject: [PATCH] fix: Correct order for random names --- actix/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix/src/utils.rs b/actix/src/utils.rs index d470643..f783d24 100644 --- a/actix/src/utils.rs +++ b/actix/src/utils.rs @@ -79,7 +79,7 @@ fn random_name() -> String { format!( "{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() ) }