fix a typo in the example of all() in doc