From 29fc86806493cbce3151b6a0a31fd8faffecf5a1 Mon Sep 17 00:00:00 2001 From: Dean4Devil Date: Thu, 12 Nov 2015 09:41:54 +0100 Subject: [PATCH] docs(server): Fixing two small typos --- src/server/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/mod.rs b/src/server/mod.rs index 7eb6c7fe..37c44279 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -104,8 +104,8 @@ //! `Response` includes a `headers_mut()` method, allowing you add more //! 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 -//! out by calling `start` on the `Request`. This will return a new -//! `Request` object, that no longer has `headers_mut()`, but does +//! out by calling `start` on the `Response`. This will return a new +//! `Response` object, that no longer has `headers_mut()`, but does //! implement `Write`. use std::fmt; use std::io::{self, ErrorKind, BufWriter, Write};