From 08be1ba622ce76a38763adefbe42968dd80c439d Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Thu, 8 Dec 2022 19:28:23 -0500 Subject: [PATCH] Fix warnings --- leptos_core/src/for_component.rs | 2 -- leptos_core/src/suspense.rs | 1 - leptos_macro/src/lib.rs | 1 - 3 files changed, 4 deletions(-) diff --git a/leptos_core/src/for_component.rs b/leptos_core/src/for_component.rs index a98796d5e..26360392e 100644 --- a/leptos_core/src/for_component.rs +++ b/leptos_core/src/for_component.rs @@ -1,10 +1,8 @@ use leptos_dom::Element; -use leptos_macro::*; use leptos_reactive::{Memo, Scope}; use std::fmt::Debug; use std::hash::Hash; -use crate as leptos; use crate::map::map_keyed; use typed_builder::TypedBuilder; diff --git a/leptos_core/src/suspense.rs b/leptos_core/src/suspense.rs index 0f3e28daa..8f2a5531f 100644 --- a/leptos_core/src/suspense.rs +++ b/leptos_core/src/suspense.rs @@ -1,4 +1,3 @@ -use crate as leptos; use leptos_dom::{Child, IntoChild}; use leptos_reactive::{provide_context, Scope, SuspenseContext}; use typed_builder::TypedBuilder; diff --git a/leptos_macro/src/lib.rs b/leptos_macro/src/lib.rs index e58cff5f5..366fa718a 100644 --- a/leptos_macro/src/lib.rs +++ b/leptos_macro/src/lib.rs @@ -3,7 +3,6 @@ use proc_macro::{TokenStream, TokenTree}; use quote::ToTokens; use server::server_macro_impl; -use syn::{parse_macro_input, DeriveInput}; use syn_rsx::{parse, NodeElement}; #[derive(Copy, Clone, Debug, PartialEq, Eq)]