git2-rs
git2-rs copied to clipboard
Repository::stash_foreach: accepting a non-mutable reference to repository
Why is it that Repository::stash_foreach requires a mutable reference to the repository? Couldn't it be a non-mutable one?