From 01a2021fa282c126aff492ea406ec51ea109dfbc Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 27 Jun 2025 07:54:42 +0300 Subject: [PATCH] replace format with push --- src/app/browser/window/tab/item/client/driver/nex.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/client/driver/nex.rs b/src/app/browser/window/tab/item/client/driver/nex.rs index ca2613cf..82bdc95c 100644 --- a/src/app/browser/window/tab/item/client/driver/nex.rs +++ b/src/app/browser/window/tab/item/client/driver/nex.rs @@ -42,7 +42,8 @@ impl Nex { let path = uri.path(); // copy once if path.is_empty() { - let r = format!("{uri}/"); // auto-append trailing slash to the root locations + let mut r = uri.to_string(); + r.push('/'); // auto-append trailing slash to the root locations self.page.navigation.request.info.replace( self.page .navigation