Loops and Promises: fixed typo

Credits to Andreas Goetz