fix clippy

This commit is contained in:
Evan Almloff 2023-07-24 11:30:52 -07:00
parent 6760c2f961
commit 1ddda0cc17

View file

@ -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
});