Skip to content

Commit

Permalink
Remove unnecessary Default impl
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Apr 23, 2024
1 parent 957c4fb commit e02d0cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,12 +1042,6 @@ pub struct ScratchInterintraEdgePal {
#[repr(C, align(32))]
pub struct ScratchAcTxtpMap([u8; 1024 * 2]);

impl Default for ScratchAcTxtpMap {
fn default() -> Self {
Self([0; 1024 * 2])
}
}

impl ScratchAcTxtpMap {
pub fn ac_mut(&mut self) -> &mut [i16; 1024] {
FromBytes::mut_from_prefix(&mut self.0).unwrap()
Expand Down

0 comments on commit e02d0cb

Please sign in to comment.