diff --git a/volo-build/src/grpc_backend.rs b/volo-build/src/grpc_backend.rs index 3e82fb64..ff5581cf 100644 --- a/volo-build/src/grpc_backend.rs +++ b/volo-build/src/grpc_backend.rs @@ -614,7 +614,7 @@ impl CodegenBackend for VoloGrpcBackend { let ty = self.trait_input_ty(a.ty.clone(), client_streaming, true); let ident = &a.name; - // args are unsed, add _ to avoid unused variable warning + // args are unused, add _ to avoid unused variable warning format!("_{ident}: {ty}") }) .join(","); diff --git a/volo-cli/src/bin/volo.rs b/volo-cli/src/bin/volo.rs index 345ba92b..f29b2375 100644 --- a/volo-cli/src/bin/volo.rs +++ b/volo-cli/src/bin/volo.rs @@ -25,7 +25,7 @@ fn main() -> Result<()> { error!("{}", e); } - // detech new version and notify the user + // detect new version and notify the user let pkg_name = env!("CARGO_PKG_NAME"); let current_version = env!("CARGO_PKG_VERSION");