Skip to content

Commit

Permalink
fix clippy warn
Browse files Browse the repository at this point in the history
  • Loading branch information
windx-foobar committed Jan 9, 2025
1 parent 55e202e commit c7be003
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/deb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ SHA256:
"#;
let parsed = parse_release_file(data)?;
assert_eq!(parsed, {
let mut release = Release::default();
release.architectures = vec!["amd64".to_string(), "i386".to_string()];
let mut release = Release {
architectures: vec!["amd64".to_string(), "i386".to_string()],
..Release::default()
};
let m = &mut release.sha256_sums;
m.insert(
"non-free/binary-amd64/Packages".into(),
Expand Down

0 comments on commit c7be003

Please sign in to comment.