aboutsummaryrefslogtreecommitdiff
path: root/src/router_option.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-07-08 05:16:56 +0000
committerFuwn <[email protected]>2025-07-08 05:16:56 +0000
commit80c5309ad71c8deee66f7407d90b002016886874 (patch)
treea8ea7ee0143adf8df771b8f49cb192f8bd808eb2 /src/router_option.rs
parentfeat(router): Add missing trailing slash corrector (diff)
downloadwindmark-80c5309ad71c8deee66f7407d90b002016886874.tar.xz
windmark-80c5309ad71c8deee66f7407d90b002016886874.zip
refactor(RouterOption): Rename trailing slash trimming option
Diffstat (limited to 'src/router_option.rs')
-rw-r--r--src/router_option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router_option.rs b/src/router_option.rs
index 2672a42..d3d0bb9 100644
--- a/src/router_option.rs
+++ b/src/router_option.rs
@@ -3,7 +3,7 @@
pub enum RouterOption {
/// Trim trailing slashes from the URL path if it is present and a route
/// match exists
- TrimTrailingSlashes,
+ RemoveExtraTrailingSlash,
/// Add a trailing slash to the URL path if it is missing and a route
/// match exists
AddMissingTrailingSlash,