Skip to content

rust-changelog: don't panic on empty file lists

The Rust changelog code would previously panic when calling the files method on a changeset with an empty files list due to invalid slice indexing. The Python changelog code has a special case for empty file lists (it just returns an empty list), so it seems reasonable to add a special case here and return an empty iterator.

Merge request reports