Skip to content

Commit

Permalink
Remove unused type.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 28, 2022
1 parent a64b080 commit a262df3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/simple_ssr/src/bin/simple_ssr_server.rs
Expand Up @@ -8,7 +8,6 @@ use clap::Parser;
use futures::stream::{self, Stream, StreamExt};
use simple_ssr::App;
use warp::Filter;
use yew::platform::Runtime;

type BoxedError = Box<dyn Error + Send + Sync + 'static>;

Expand All @@ -20,12 +19,6 @@ struct Opt {
dir: PathBuf,
}

// An executor to process requests on the Yew runtime.
#[derive(Clone, Default)]
struct Executor {
inner: Runtime,
}

async fn render(
index_html_before: String,
index_html_after: String,
Expand Down

0 comments on commit a262df3

Please sign in to comment.