mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix clippy
This commit is contained in:
parent
6760c2f961
commit
1ddda0cc17
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ pub trait Routable: std::fmt::Display + std::str::FromStr + Clone + 'static {
|
|||
let new_route = segments
|
||||
.take(segment_count - 1)
|
||||
.fold(String::new(), |mut acc, segment| {
|
||||
acc.push_str("/");
|
||||
acc.push('/');
|
||||
acc.push_str(segment);
|
||||
acc
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue