From 7300002226f46b9115f3db2a7ee28491dd664b0a Mon Sep 17 00:00:00 2001 From: Darin Date: Wed, 24 Apr 2019 16:21:42 -0400 Subject: [PATCH] grammar fixes (#796) --- src/responder.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/responder.rs b/src/responder.rs index f7f2a8b3a..47a8800ef 100644 --- a/src/responder.rs +++ b/src/responder.rs @@ -23,7 +23,7 @@ pub trait Responder { /// Convert itself to `AsyncResult` or `Error`. fn respond_to(self, req: &HttpRequest) -> Self::Future; - /// Override a status code for a responder. + /// Override a status code for a Responder. /// /// ```rust /// use actix_web::{HttpRequest, Responder, http::StatusCode}; @@ -40,7 +40,7 @@ pub trait Responder { CustomResponder::new(self).with_status(status) } - /// Add extra header to the responder's response. + /// Add header to the Responder's response. /// /// ```rust /// use actix_web::{web, HttpRequest, Responder}; @@ -221,7 +221,7 @@ impl CustomResponder { } } - /// Override a status code for the responder's response. + /// Override a status code for the Responder's response. /// /// ```rust /// use actix_web::{HttpRequest, Responder, http::StatusCode}; @@ -236,7 +236,7 @@ impl CustomResponder { self } - /// Add extra header to the responder's response. + /// Add header to the Responder's response. /// /// ```rust /// use actix_web::{web, HttpRequest, Responder};