From a879b3dca3696821781c7de96751b5192895aada Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sat, 3 Apr 2021 11:58:23 -0500 Subject: [PATCH] Get web example compiling. --- examples/web/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/web/src/main.rs b/examples/web/src/main.rs index 5f35742..fb03c38 100644 --- a/examples/web/src/main.rs +++ b/examples/web/src/main.rs @@ -1,12 +1,12 @@ #![allow(clippy::wildcard_imports)] use seed::{prelude::*, *}; -use tts::TTS; +use tts::Tts; #[derive(Clone)] struct Model { text: String, - tts: TTS, + tts: Tts, } #[derive(Clone)] @@ -19,7 +19,7 @@ enum Msg { } fn init(_: Url, _: &mut impl Orders) -> Model { - let tts = TTS::default().unwrap(); + let tts = Tts::default().unwrap(); Model { text: Default::default(), tts,