cargo fmt

This commit is contained in:
Nolan Darilek 2019-01-03 16:16:54 +00:00
parent 103a0c043d
commit e82a10ba16
3 changed files with 11 additions and 14 deletions

View File

@ -1,5 +1,4 @@
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
use std::u8; use std::u8;
use log::{info, trace}; use log::{info, trace};

View File

@ -1,5 +1,4 @@
#[cfg(target_arch = "wasm32")] #[cfg(target_arch = "wasm32")]
use std::u8; use std::u8;
use log::{info, trace}; use log::{info, trace};

View File

@ -51,7 +51,6 @@ trait Backend {
pub struct TTS(Box<Backend>); pub struct TTS(Box<Backend>);
impl TTS { impl TTS {
/** /**
* Create a new `TTS` instance with the specified backend. * Create a new `TTS` instance with the specified backend.
*/ */
@ -63,7 +62,7 @@ impl TTS {
Backends::Web => { Backends::Web => {
let tts = backends::Web::new()?; let tts = backends::Web::new()?;
Ok(TTS(Box::new(tts))) Ok(TTS(Box::new(tts)))
}, }
} }
} }