Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix utf8.DecodeRune error condition check
On error it's documented as returning "RuneError, 1" (which is incorrect/wrong, since RuneError has size 2). But we didn't check that second return value, so when you actually *wanted* RuneError it didn't work. Fixes #46
- Loading branch information