-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create example that uses CompactString
#14
Comments
neoeinstein
added a commit
that referenced
this issue
Jun 20, 2022
neoeinstein
added a commit
that referenced
this issue
Jun 20, 2022
neoeinstein
added a commit
that referenced
this issue
Jun 20, 2022
neoeinstein
added a commit
that referenced
this issue
Jun 22, 2022
bors bot
added a commit
that referenced
this issue
Jun 22, 2022
15: feat: add no_expose parameter r=neoeinstein a=neoeinstein In order to avoid exposing the inner type, we need to add a requirement on the `Validator::Error` type to ensure that we can at least convert from `Infallible`. To support this trivial implementation, I've added a `from_infallible!()` macro that provides that impl. Closes #14 Co-authored-by: Marcus Griep <marcus@griep.us>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relies on ParkMyCar/compact_str#117, with a pending PR: ParkMyCar/compact_str#118.
The example is already prepared, but needs to be uncommented and re-published when
compact_str
is released with the necessary trait.The text was updated successfully, but these errors were encountered: