Tracks: Remove box around TrackState (#84)
Boxing is unnecessary since `TrackState` implements copy. Tested using `cargo make ready`.
This commit is contained in:
committed by
Kyle Simpson
parent
210e3ae584
commit
91d7542593
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user