From ac68f6667ed6a8451abf2a1d2d0f1db264913112 Mon Sep 17 00:00:00 2001 From: mxsm Date: Wed, 18 Oct 2023 02:03:07 +0800 Subject: [PATCH] [ISSUE #234]Fixing some typos (#235) --- volo-build/src/grpc_backend.rs | 2 +- volo-cli/src/bin/volo.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");