Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
No lint was being generated because of #[derive(Clone)].

rust-lang/rust#57613
  • Loading branch information
aloucks committed Apr 21, 2019
1 parent 917a5bd commit fb62078
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/particle_simulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ use rand::Rng;

use std::time::{Duration, Instant};

#[repr(C)]
#[derive(Copy, Clone, Debug)]
struct PositionColor {
pub position: [f32; 3],
pub color: [f32; 4],
}

const PARTICLE_GROUP_SIZE: usize = 512;
const PARTICLE_GROUP_COUNT: usize = 8192;
const PARTICLE_COUNT: usize = PARTICLE_GROUP_SIZE * PARTICLE_GROUP_COUNT;
Expand Down

0 comments on commit fb62078

Please sign in to comment.