Fixed some typographical errors in new documentation.

This commit is contained in:
Aaron Weiss 2017-11-16 17:26:46 +01:00
parent 899accaa2f
commit dc55d08996
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -658,7 +658,7 @@ impl Server for IrcServer {
impl IrcServer { impl IrcServer {
/// Creates a new IRC Server connection from the configuration at the specified path, connecting /// Creates a new IRC Server connection from the configuration at the specified path, connecting
/// immediately. This function is short-hand for loading the configuration and then calling /// immediately. This function is short-hand for loading the configuration and then calling
/// `IrcServer::from_config` and subsequently inherits its behaviors. /// `IrcServer::from_config` and consequently inherits its behaviors.
/// ///
/// # Example /// # Example
/// ```no_run /// ```no_run
@ -728,7 +728,7 @@ impl IrcServer {
}) })
} }
/// Creates a new IRC server connection from the specified configration and on the event loop /// Creates a new IRC server connection from the specified configuration and on the event loop
/// corresponding to the given handle. This can be used to set up a number of IrcServers on a /// corresponding to the given handle. This can be used to set up a number of IrcServers on a
/// single, shared event loop. It can also be used to take more control over execution and error /// single, shared event loop. It can also be used to take more control over execution and error
/// handling. Connection will not occur until the event loop is run. /// handling. Connection will not occur until the event loop is run.