Forward declare edit-distance

Forgot to forward-declare `edit-distance` in the last commit.