Update interface.rs
This commit is contained in:
parent
e8c000763f
commit
52a534df0c
|
@ -77,7 +77,7 @@ pub fn generate(interface_args: &args::Interface, input: &DeriveInput) -> Result
|
|||
|
||||
type_into_impls.push(quote! {
|
||||
#[allow(clippy::all, clippy::pedantic)]
|
||||
impl #generics std::convert::From<#p> for #ident #generics {
|
||||
impl #generics ::std::convert::From<#p> for #ident #generics {
|
||||
fn from(obj: #p) -> Self {
|
||||
#ident::#enum_name(obj)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user