From 5169d306ae5311b0955b8927ad0fbdbdb348df1d Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 27 Sep 2019 07:03:12 +0600 Subject: [PATCH] update ConnectionInfo.remote() doc string --- actix-http/CHANGES.md | 2 +- src/info.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index acba0796f..06756033f 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -7,7 +7,7 @@ * Add support for serde_json::Value to be passed as argument to ResponseBuilder.body() -## [0.2.11] - 2019-09-11 +## [0.2.10] - 2019-09-11 ### Added diff --git a/src/info.rs b/src/info.rs index ba59605de..61914516e 100644 --- a/src/info.rs +++ b/src/info.rs @@ -155,9 +155,9 @@ impl ConnectionInfo { &self.host } - /// Remote IP of client initiated HTTP request. + /// Remote socket addr of client initiated HTTP request. /// - /// The IP is resolved through the following headers, in this order: + /// The addr is resolved through the following headers, in this order: /// /// - Forwarded /// - X-Forwarded-For