create example

This commit is contained in:
Evan Almloff committed 2023-05-23 19:09:24 -05:00
1 parent d0d7e88a0d
commit 3678fa1d3f
6 files changed
+158 -79

No files matched your search

+1 -1
View File
@@ -244,7 +244,7 @@ impl RouteEnum {
});
quote! {
impl<'a> TryFrom<&'a str> for #name {
impl<'a> core::convert::TryFrom<&'a str> for #name {
type Error = <Self as std::str::FromStr>::Err;
fn try_from(s: &'a str) -> Result<Self, Self::Error> {