remove unnecessary to_owned
continuous-integration/drone/push Build was killed Details

This commit is contained in:
glyph 2022-04-07 14:20:41 +02:00
parent abde4ce1b4
commit 4662b15ba3
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ pub fn update_microservices() -> Result<(), PeachConfigError> {
cmd(&["apt-get", "update"])?;
// filter out peach-config from list of services
let services_to_update: Vec<&str> = SERVICES
.to_vec()
.into_iter()
.iter()
.copied()
.filter(|&x| x != "peach-config")
.collect();