docs typos

This commit is contained in:
Sean McArthur
2014-09-06 14:38:12 -07:00
parent fcf2863c0f
commit 1926e82369
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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;