Tracks: Remove box around TrackState (#84)

Boxing is unnecessary since `TrackState` implements copy.

Tested using `cargo make ready`.
This commit is contained in:
Vilgot Fredenberg
2021-06-29 15:58:21 +02:00
committed by Kyle Simpson
parent 210e3ae584
commit 91d7542593
3 changed files with 4 additions and 4 deletions

View File

@@ -294,7 +294,7 @@ impl Track {
));
},
Request(tx) => {
let _ = tx.send(Box::new(self.state()));
let _ = tx.send(self.state());
},
Loop(loops) =>
if self.set_loops(loops).is_ok() {