You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
It would be nice to be able to update a segment from PathSegmentsMut (or throught another way).
My use case is to iterate over the segments of a URL and increment one number found in a segment.
(Ideally, I'd like to be able to do the same with query parameters, so I'd like to have this same API for Serializer).
Thanks.
The text was updated successfully, but these errors were encountered:
String::replace_range was added recently and would allow doing this somewhat efficiently. What would you imagine the API would look like? What the segment to replace be identified by a usize index?
Hello.
It would be nice to be able to update a segment from
PathSegmentsMut
(or throught another way).My use case is to iterate over the segments of a URL and increment one number found in a segment.
(Ideally, I'd like to be able to do the same with query parameters, so I'd like to have this same API for
Serializer
).Thanks.
The text was updated successfully, but these errors were encountered: