fix router macro mixed core crate by clearify core:: -> ::core:: (#4350)

This commit is contained in:
zhiyanzhaijie authored and GitHub committed 2025-07-01 18:44:13 -07:00
1 parent d5daf14c15
commit c3c7e5f705
1 file changed
+1 -1
+1 -1
View File
@@ -513,7 +513,7 @@ impl RouteEnum {
});
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;
fn try_from(s: &'a str) -> ::std::result::Result<Self, Self::Error> {