From ca70e5e321a3c174c53d0650feed84db471ac30d Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 11 Dec 2025 23:21:42 -1030 Subject: enable str_to_string clippy lint --- azalea/examples/testbot/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea/examples/testbot/main.rs') diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 2c282f07..71c5585d 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -213,9 +213,9 @@ pub struct Args { } fn parse_args() -> Args { - let mut owner_username = "admin".to_string(); + let mut owner_username = "admin".to_owned(); let mut accounts = Vec::new(); - let mut server = "localhost".to_string(); + let mut server = "localhost".to_owned(); let mut pathfinder_debug_particles = false; let mut args = env::args().skip(1); @@ -243,7 +243,7 @@ fn parse_args() -> Args { } if accounts.is_empty() { - accounts.push("azalea".to_string()); + accounts.push("azalea".to_owned()); } Args { -- cgit v1.2.3