Skip to content

Commit

Permalink
fix(ci): change string to char
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed May 19, 2024
1 parent 381935a commit c18840b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl Server {
is_const: bool,
) {

let second_route: String = if route.ends_with("/") {
let second_route: String = if route.ends_with('/') {
route[0..route.len() - 1].to_string()
} else {
format!("{}/", route)
Expand Down

0 comments on commit c18840b

Please sign in to comment.