diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index 8b20438..b5b292f 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -243,7 +243,7 @@ impl Server { /// /// # Note /// Even when the argument given is `None` this will capture *all* requests to this service name. - /// As a result, one cannot use this to toggle between two indentically named implementations. + /// As a result, one cannot use this to toggle between two identically named implementations. pub fn add_optional_service( &mut self, svc: Option, @@ -379,7 +379,7 @@ where /// /// # Note /// Even when the argument given is `None` this will capture *all* requests to this service name. - /// As a result, one cannot use this to toggle between two indentically named implementations. + /// As a result, one cannot use this to toggle between two identically named implementations. pub fn add_optional_service( self, svc: Option,