chore: Fix clippy lints (#881)
This commit is contained in:
@@ -15,7 +15,7 @@ pub fn generate<T: Service>(
|
||||
attributes: &Attributes,
|
||||
) -> TokenStream {
|
||||
let service_ident = quote::format_ident!("{}Client", service.name());
|
||||
let client_mod = quote::format_ident!("{}_client", naive_snake_case(&service.name()));
|
||||
let client_mod = quote::format_ident!("{}_client", naive_snake_case(service.name()));
|
||||
let methods = generate_methods(service, emit_package, proto_path, compile_well_known_types);
|
||||
|
||||
let connect = generate_connect(&service_ident);
|
||||
|
||||
@@ -19,7 +19,7 @@ pub fn generate<T: Service>(
|
||||
|
||||
let server_service = quote::format_ident!("{}Server", service.name());
|
||||
let server_trait = quote::format_ident!("{}", service.name());
|
||||
let server_mod = quote::format_ident!("{}_server", naive_snake_case(&service.name()));
|
||||
let server_mod = quote::format_ident!("{}_server", naive_snake_case(service.name()));
|
||||
let generated_trait = generate_trait(
|
||||
service,
|
||||
proto_path,
|
||||
|
||||
Reference in New Issue
Block a user