Skip to content

Commit a51c710

Browse files
authored
Use dyn for a dynamic trait
`Muxer` is a trait, and passing dynamic traits without the `dyn` keyword is now deprecated.
1 parent 12f041f commit a51c710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/rav1e.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn write_stats_file<T: Pixel>(ctx: &Context<T>, filename: &Path) -> Result<(), i
109109

110110
fn do_encode<T: Pixel, D: Decoder>(
111111
cfg: Config, verbose: bool, mut progress: ProgressInfo,
112-
output: &mut Muxer,
112+
output: &mut dyn Muxer,
113113
source: &mut Source<D>,
114114
mut y4m_enc: Option<y4m::Encoder<'_, Box<dyn Write>>>
115115
) {

0 commit comments

Comments
 (0)