replace format with push

This commit is contained in:
yggverse 2025-06-27 07:54:42 +03:00
parent de775e94a1
commit 01a2021fa2

View File

@ -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