diff --git a/examples/src/richer-error/client.rs b/examples/src/richer-error/client.rs index 1fa9ef7e2..3ccf35428 100644 --- a/examples/src/richer-error/client.rs +++ b/examples/src/richer-error/client.rs @@ -46,7 +46,7 @@ async fn main() -> Result<(), Box> { } }; - println!(" Successfull response received.\n\n {:?}\n", response); + println!(" Successful response received.\n\n {:?}\n", response); Ok(()) } diff --git a/examples/src/richer-error/client_vec.rs b/examples/src/richer-error/client_vec.rs index f74aa9f31..c852c61a4 100644 --- a/examples/src/richer-error/client_vec.rs +++ b/examples/src/richer-error/client_vec.rs @@ -52,7 +52,7 @@ async fn main() -> Result<(), Box> { } }; - println!(" Successfull response received.\n\n {:?}\n", response); + println!(" Successful response received.\n\n {:?}\n", response); Ok(()) } diff --git a/tonic-build/src/prost.rs b/tonic-build/src/prost.rs index 1249055d9..3202e2730 100644 --- a/tonic-build/src/prost.rs +++ b/tonic-build/src/prost.rs @@ -506,7 +506,7 @@ impl Builder { /// should be enabled automatically when run from a build script. However, /// the method of detection is not completely reliable since the `CARGO` /// environment variable can have been set by anything else. If writing the - /// instructions to `stdout` is undesireable, you can disable this setting + /// instructions to `stdout` is undesirable, you can disable this setting /// explicitly. pub fn emit_rerun_if_changed(mut self, enable: bool) -> Self { self.emit_rerun_if_changed = enable; diff --git a/tonic-web/src/call.rs b/tonic-web/src/call.rs index b9fd628a5..dd79971c6 100644 --- a/tonic-web/src/call.rs +++ b/tonic-web/src/call.rs @@ -425,7 +425,7 @@ fn make_trailers_frame(trailers: HeaderMap) -> Vec { /// Search some buffer for grpc-web trailers headers and return /// its location in the original buf. If `None` is returned we did /// not find a trailers in this buffer either because its incomplete -/// or the buffer jsut contained grpc message frames. +/// or the buffer just contained grpc message frames. fn find_trailers(buf: &[u8]) -> Result { let mut len = 0; let mut temp_buf = &buf[..]; diff --git a/tonic/src/lib.rs b/tonic/src/lib.rs index 437402a62..8aa80a121 100644 --- a/tonic/src/lib.rs +++ b/tonic/src/lib.rs @@ -58,7 +58,7 @@ //! ## Max Message Size //! //! Currently, both servers and clients can be configured to set the max message encoding and -//! decoding size. This will ensure that an incoming gRPC message will not exahust the systems +//! decoding size. This will ensure that an incoming gRPC message will not exhaust the systems //! memory. By default, the decoding message limit is `4MB` and the encoding limit is `usize::MAX`. //! //! [gRPC]: https://grpc.io