mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 12:49:38 +00:00
Eliminate deprecation warning.
This commit is contained in:
parent
1c1f38b55d
commit
36745f9850
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user