fix clippy
This commit is contained in:
1 parent
6760c2f961
commit
1ddda0cc17
1 file changed
+1
-1
@@ -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
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user