From ab8910ac858e2f948d165992b6830b5de612b22a Mon Sep 17 00:00:00 2001 From: txgruppi Date: Wed, 19 Nov 2014 18:15:05 +0000 Subject: [PATCH] Updated README, it was describing the wrong return type --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e35f373..af7a1fd 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ the desired type. **If input is provided that will not convert to that type, the 0 or nil value for that type will be returned**. Cast also provides identical methods To_____E. These return the same result as -the To_____ methods, plus an additional bool which tells you if it successfully +the To_____ methods, plus an additional error which tells you if it successfully converted. Using these methods you can tell the difference between when the input matched the zero value or when the conversion failed and the zero value was returned.