Fix typo (#405)
This commit is contained in:
@@ -243,7 +243,7 @@ impl Server {
|
|||||||
///
|
///
|
||||||
/// # Note
|
/// # Note
|
||||||
/// Even when the argument given is `None` this will capture *all* requests to this service name.
|
/// 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<S>(
|
pub fn add_optional_service<S>(
|
||||||
&mut self,
|
&mut self,
|
||||||
svc: Option<S>,
|
svc: Option<S>,
|
||||||
@@ -379,7 +379,7 @@ where
|
|||||||
///
|
///
|
||||||
/// # Note
|
/// # Note
|
||||||
/// Even when the argument given is `None` this will capture *all* requests to this service name.
|
/// 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<S>(
|
pub fn add_optional_service<S>(
|
||||||
self,
|
self,
|
||||||
svc: Option<S>,
|
svc: Option<S>,
|
||||||
|
|||||||
Reference in New Issue
Block a user