It uses the similar proximity based correction algorithm, which does not blindly suggest you corrections based on dictionary, but if the correction is very probable (i.e. you presses 'r' instead of 'e', and word with 'r' does not make sense) it just corrects you in place without asking once you press space.