diff options
| author | Fuwn <[email protected]> | 2024-06-03 15:37:20 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-03 15:37:20 +0000 |
| commit | 967774fc048b9d0738fbd13998ed77b6b70effa2 (patch) | |
| tree | e0f9d650a221476852005eeaac96224584a3a76a /crates/whirl_api/src/routes | |
| parent | format: rustfmt with new rules (diff) | |
| download | whirl-967774fc048b9d0738fbd13998ed77b6b70effa2.tar.xz whirl-967774fc048b9d0738fbd13998ed77b6b70effa2.zip | |
refactor(crates): update idioms
Diffstat (limited to 'crates/whirl_api/src/routes')
| -rw-r--r-- | crates/whirl_api/src/routes/worlds/info/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/whirl_api/src/routes/worlds/info/mod.rs b/crates/whirl_api/src/routes/worlds/info/mod.rs index 382c07f..a9d098a 100644 --- a/crates/whirl_api/src/routes/worlds/info/mod.rs +++ b/crates/whirl_api/src/routes/worlds/info/mod.rs @@ -15,7 +15,7 @@ pub async fn info( easy .url(&format!( "http://www-dynamic.us.worlds.net/cgi-bin/profile.pl?{}", - req.username.as_ref().unwrap_or(&"".to_string()), + req.username.as_ref().unwrap_or(&String::new()), )) .unwrap(); |