From 2d28dba982221412142cba68fef8e21f3e16b88b Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Thu, 9 Apr 2015 19:33:38 +0200 Subject: [PATCH] Typo in NewDocumentFromResponse doc --- type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type.go b/type.go index 54f5636..a879ad4 100644 --- a/type.go +++ b/type.go @@ -51,7 +51,7 @@ func NewDocumentFromReader(r io.Reader) (*Document, error) { return newDocument(root, nil), nil } -// NewDocumentFromResponse is another Document constructor that takes an http resonse as argument. +// NewDocumentFromResponse is another Document constructor that takes an http response as argument. // It loads the specified response's document, parses it, and stores the root Document // node, ready to be manipulated. The response's body is closed on return. func NewDocumentFromResponse(res *http.Response) (*Document, error) {