docs typos
This commit is contained in:
@@ -92,7 +92,7 @@ pub struct Listening {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Listening {
|
impl Listening {
|
||||||
/// Stop the server from listening to it's socket address.
|
/// Stop the server from listening to its socket address.
|
||||||
pub fn close(mut self) -> IoResult<()> {
|
pub fn close(mut self) -> IoResult<()> {
|
||||||
debug!("closing server");
|
debug!("closing server");
|
||||||
self.acceptor.close_accept()
|
self.acceptor.close_accept()
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ impl Response {
|
|||||||
|
|
||||||
fn write_head(&mut self) -> IoResult<()> {
|
fn write_head(&mut self) -> IoResult<()> {
|
||||||
if self.headers_written {
|
if self.headers_written {
|
||||||
debug!("headers previsouly written, nooping");
|
debug!("headers previously written, nooping");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
self.headers_written = true;
|
self.headers_written = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user