From 87ede1e2b367a997440626ad9f583600d7cc42fc Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 15 Nov 2022 15:14:48 -0500 Subject: Fix rust warnings --- webapp/src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'webapp/src/main.rs') diff --git a/webapp/src/main.rs b/webapp/src/main.rs index 25d12f1..f9a3f01 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -1,16 +1,12 @@ -use std::rc::Rc; - #[allow(unused_imports)] use log::{debug, error, info, warn}; use yew::prelude::*; use yew_router::prelude::*; pub mod components; -use components::{AppContext, AppContextProvider, ErrorInfo, Game, Table}; -use gloo_net::http::Request; +use components::{AppContextProvider, ErrorInfo, Game, Table}; extern crate wee_alloc; pub mod routing; use crate::{components::use_app_context, routing::Route}; -use uuid::Uuid; // Use `wee_alloc` as the global allocator. #[global_allocator] @@ -97,4 +93,3 @@ fn switch(routes: &Route) -> Html { } } - -- cgit v1.2.3