rpm-ostree/rust
Colin Walters 73b9d2ff3b treefile: Minor cleanup of handle_repo_packages_overrides()
This isn't important at all, but I am just trying to up my
"Rust iterator and mapping" skills.  Here:

- In this case we always want to go from `Option<T>` to `Option<T>`,
  so instead of destructuring `Some()` back to another `Some()`
  we can use `as_mut()` to manipulate the inner vector directly.
- Now instead of destroying the inner `Vec<>` we need to use `drain()`
  instead
- And then we can just `extend()` with a reversed iterator from
  our explicit temporary
2021-05-05 15:52:52 -04:00
..
libdnf-sys build(deps): bump cxx from 1.0.47 to 1.0.48 2021-04-29 08:55:14 +00:00
rpmostree-client rust/client: Make status be a method 2021-04-07 18:56:59 +00:00
src treefile: Minor cleanup of handle_repo_packages_overrides() 2021-05-05 15:52:52 -04:00
.gitignore Add testutils generate-synthetic-upgrade 2020-08-18 17:23:15 +02:00
LICENSE-APACHE Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00
LICENSE-MIT Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00