Eliminate deprecation warning.

This commit is contained in:
Nolan Darilek 2019-09-30 10:36:20 -05:00
parent 1c1f38b55d
commit 36745f9850
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ pub trait Backend {
fn set_volume(&mut self, volume: u8) -> Result<(), Error>;
}
pub struct TTS(Box<Backend>);
pub struct TTS(Box<dyn Backend>);
unsafe impl std::marker::Send for TTS {}