diff --git a/proxmox-apt/src/repositories/file/sources_parser.rs b/proxmox-apt/src/repositories/file/sources_parser.rs index 017162bb..6d1eeb34 100644 --- a/proxmox-apt/src/repositories/file/sources_parser.rs +++ b/proxmox-apt/src/repositories/file/sources_parser.rs @@ -108,7 +108,7 @@ impl APTSourcesFileParser { } let mut types = Vec::::new(); for package_type in values { - types.push((&package_type[..]).parse()?); + types.push(package_type[..].parse()?); } repo.types = types; }