-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
breaking changesThese changes require a major version number increaseThese changes require a major version number increase
Description
The serialize implementation relies on AsRef<str>. Maybe it is better to use the Display bound instead. This might make it more useable with non-String types, e.g., Option<i32>.
Here is a reference where it is used to parse get query parameter, which can be the empty string when not set:
tokio-rs/axum#443
Metadata
Metadata
Assignees
Labels
breaking changesThese changes require a major version number increaseThese changes require a major version number increase