The bson_iter_visit_all documentation does not make sense and needs to be updated.
This includes documentation at bson-iter.c:1884 and bson_iter_visit_all.rst