Fix the build warning of deprecated trim_right_matches (#2662)
This commit is contained in:
committed by
Ignotus Peverell
parent
699d85a799
commit
608973c498
@@ -300,7 +300,7 @@ where
|
||||
match req
|
||||
.uri()
|
||||
.path()
|
||||
.trim_right_matches("/")
|
||||
.trim_end_matches("/")
|
||||
.rsplit("/")
|
||||
.next()
|
||||
.unwrap()
|
||||
@@ -553,7 +553,7 @@ where
|
||||
match req
|
||||
.uri()
|
||||
.path()
|
||||
.trim_right_matches("/")
|
||||
.trim_end_matches("/")
|
||||
.rsplit("/")
|
||||
.next()
|
||||
.unwrap()
|
||||
@@ -684,7 +684,7 @@ where
|
||||
match req
|
||||
.uri()
|
||||
.path()
|
||||
.trim_right_matches("/")
|
||||
.trim_end_matches("/")
|
||||
.rsplit("/")
|
||||
.next()
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user