fix router macro mixed core crate by clearify core:: -> ::core:: (#4350)
This commit is contained in:
1 parent
d5daf14c15
commit
c3c7e5f705
1 file changed
+1
-1
@@ -513,7 +513,7 @@ impl RouteEnum {
|
|||||||
});
|
});
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
impl<'a> core::convert::TryFrom<&'a str> for #name {
|
impl<'a> ::core::convert::TryFrom<&'a str> for #name {
|
||||||
type Error = <Self as std::str::FromStr>::Err;
|
type Error = <Self as std::str::FromStr>::Err;
|
||||||
|
|
||||||
fn try_from(s: &'a str) -> ::std::result::Result<Self, Self::Error> {
|
fn try_from(s: &'a str) -> ::std::result::Result<Self, Self::Error> {
|
||||||
|
|||||||
Reference in new issue
Block a user