@@ -1771,7 +1771,7 @@ fn generate_node(gen: &GeneratorContext,
17711771
17721772 output. push ( Branch ( vec ! (
17731773 Line ( "#[repr(u16)]" . to_string( ) ) ,
1774- Line ( "#[derive(Clone, Copy, Debug, PartialEq)]" . to_string( ) ) ,
1774+ Line ( "#[derive(Clone, Copy, Debug, PartialEq, Eq )]" . to_string( ) ) ,
17751775 Line ( format!( "pub enum {} {{" , last_name) ) ,
17761776 Indent ( Box :: new( Branch ( members) ) ) ,
17771777 Line ( "}" . to_string( ) ) ) ) ) ;
@@ -1877,7 +1877,7 @@ fn generate_node(gen: &GeneratorContext,
18771877 capitalize_first_letter( name) , results_ty_params, result_type) ) ) ;
18781878 server_interior. push (
18791879 Line ( format ! (
1880- "fn {}(&mut self, _: {}Params<{}>, _: {}Results<{}>) -> ::capnp::capability::Promise<(), ::capnp::Error> {{ ::capnp::capability::Promise::err(::capnp::Error::unimplemented(format!( \" method {}::Server::{} not implemented\" ))) }}" ,
1880+ "fn {}(&mut self, _: {}Params<{}>, _: {}Results<{}>) -> ::capnp::capability::Promise<(), ::capnp::Error> {{ ::capnp::capability::Promise::err(::capnp::Error::unimplemented(\" method {}::Server::{} not implemented\" .to_string( ))) }}" ,
18811881 module_name( name) ,
18821882 capitalize_first_letter( name) , params_ty_params,
18831883 capitalize_first_letter( name) , results_ty_params,
0 commit comments