From 0126ac46fc234f3c62e96eeb58fcb50be9db51ee Mon Sep 17 00:00:00 2001 From: Sindre Johansen Date: Sun, 20 May 2018 14:43:26 +0200 Subject: [PATCH] Fix some typos in server/srv.rs Hello! This looks like a great library, thanks for creating it! While reading through the documentation I found a few typos. --- src/server/srv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/srv.rs b/src/server/srv.rs index 22091e22b..7ed533bf4 100644 --- a/src/server/srv.rs +++ b/src/server/srv.rs @@ -309,7 +309,7 @@ where /// The socket address to bind /// - /// To mind multiple addresses this method can be call multiple times. + /// To bind multiple addresses this method can be called multiple times. pub fn bind(mut self, addr: S) -> io::Result { let sockets = self.bind2(addr)?; self.sockets.extend(sockets); @@ -319,7 +319,7 @@ where #[cfg(feature = "tls")] /// The ssl socket address to bind /// - /// To mind multiple addresses this method can be call multiple times. + /// To bind multiple addresses this method can be called multiple times. pub fn bind_tls( mut self, addr: S, acceptor: TlsAcceptor, ) -> io::Result {