Skip to content

Commit

Permalink
Remove unnecessary use of #[repr(packed)].
Browse files Browse the repository at this point in the history
There's some correctness issues with this, so there may be breaking
changes in future. See rust-lang/rust#27060.
  • Loading branch information
huonw committed Jul 24, 2015
1 parent 720dcc9 commit 8de7ca8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tga/decoder.rs
Expand Up @@ -72,7 +72,6 @@ impl ImageType {

/// Header used by TGA image files
#[derive(Debug)]
#[repr(packed)]
struct Header {
id_length: u8, // length of ID string
map_type: u8, // color map type
Expand Down

0 comments on commit 8de7ca8

Please sign in to comment.