Skip to content

Commit

Permalink
test: Fix more build errors in no-default-features build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Jun 14, 2024
1 parent 0ad79e9 commit 60f7c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2621,7 +2621,7 @@ mod test {
.into(),
},
alignment: 4103,
zopfli_buffer_size: None,
..Default::default()

Check failure on line 2624 in src/write.rs

View workflow job for this annotation

GitHub Actions / style_and_docs (--no-default-features)

struct update has no effect, all the fields in the struct have already been specified

Check failure on line 2624 in src/write.rs

View workflow job for this annotation

GitHub Actions / style_and_docs (--no-default-features)

struct update has no effect, all the fields in the struct have already been specified
};
writer.start_file_from_path("", options)?;
let finished = writer.finish_into_readable()?;
Expand All @@ -2639,7 +2639,7 @@ mod test {
central_extra_data: vec![].into(),
},
alignment: 0,
..default()
..Default::default()

Check failure on line 2642 in src/write.rs

View workflow job for this annotation

GitHub Actions / style_and_docs (--no-default-features)

struct update has no effect, all the fields in the struct have already been specified

Check failure on line 2642 in src/write.rs

View workflow job for this annotation

GitHub Actions / style_and_docs (--no-default-features)

struct update has no effect, all the fields in the struct have already been specified
};
writer.start_file_from_path("", options)?;
writer.shallow_copy_file_from_path("", "")?;
Expand Down

0 comments on commit 60f7c63

Please sign in to comment.