Better would have been to let the faster person learn something else tangentially related to the course so that they stay engaged but they don't disengage because they're simply ahead of the rest of the class on the next topic - which is just frustrating for everybody.
Alternatives exist for self-directed study and the tutorial system but that's presumably not what they're building for.