Merge pull request #681 from Dean4Devil/master

docs(server): Fixing two small typos
This commit is contained in:
Sean McArthur
2015-11-16 11:55:05 -08:00

View File

@@ -104,8 +104,8 @@
//! `Response<Fresh>` includes a `headers_mut()` method, allowing you add more //! `Response<Fresh>` includes a `headers_mut()` method, allowing you add more
//! headers. It also does not implement `Write`, so you can't accidentally //! headers. It also does not implement `Write`, so you can't accidentally
//! write early. Once the "head" of the response is correct, you can "send" it //! write early. Once the "head" of the response is correct, you can "send" it
//! out by calling `start` on the `Request<Fresh>`. This will return a new //! out by calling `start` on the `Response<Fresh>`. This will return a new
//! `Request<Streaming>` object, that no longer has `headers_mut()`, but does //! `Response<Streaming>` object, that no longer has `headers_mut()`, but does
//! implement `Write`. //! implement `Write`.
use std::fmt; use std::fmt;
use std::io::{self, ErrorKind, BufWriter, Write}; use std::io::{self, ErrorKind, BufWriter, Write};