Skip to content

Commit c54dd9e

Browse files
committed
Use Box::new as .boxed() is deprecated.
1 parent 08785c6 commit c54dd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ fn main() {
291291
mixer,
292292
backend,
293293
config.audio_device.clone(),
294-
ctrl_c(&handle).flatten_stream().boxed(),
294+
Box::new(ctrl_c(&handle).flatten_stream()),
295295
discovery_stream,
296296
cache,
297297
player_config,

0 commit comments

Comments
 (0)