Fix an example code in README.

Suggested by @gxy837.