提交 5aab10dd authored 作者: José Luis Millán's avatar José Luis Millán 提交者: Nazar Mokrynskyi

rust: properly use in a macro definition

上级 efc31021
...@@ -38,7 +38,7 @@ macro_rules! uuid_based_wrapper_type { ...@@ -38,7 +38,7 @@ macro_rules! uuid_based_wrapper_type {
} }
} }
impl From<$struct_name> for crate::worker::SubscriptionTarget { impl From<$struct_name> for $crate::worker::SubscriptionTarget {
fn from(id: $struct_name) -> Self { fn from(id: $struct_name) -> Self {
Self::Uuid(id.0) Self::Uuid(id.0)
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论