From 87cd5a220662eecaa5476da3c145f0617b73f734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 26 Apr 2014 14:32:56 +0200 Subject: Change wording in the guide to remove ambiguity --- guide/req.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'guide') diff --git a/guide/req.md b/guide/req.md index 2b59152..f93623a 100644 --- a/guide/req.md +++ b/guide/req.md @@ -62,8 +62,10 @@ or `{error, atom()}`. This includes the following functions: also includes the `chunk/2` function which always returns `ok`. -The final group modifies the Req object, so it always return -a new `Req`. It includes the following functions: `compact/1`, +The final group modifies the Req object state without +performing any immediate operations. As these functions +can't fail, they always return a new `Req` directly. +This includes the following functions: `compact/1`, `delete_resp_header/2`, `set_meta/3`, `set_resp_body/2`, `set_resp_body_fun/{2,3}`, `set_resp_cookie/4`, `set_resp_header/3`. -- cgit v1.2.3