Skip to content

Commit

Permalink
importing quote
Browse files Browse the repository at this point in the history
  • Loading branch information
sabify committed Jan 25, 2024
1 parent ca3806e commit 8feb2cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion leptos_macro/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use convert_case::{
use itertools::Itertools;
use leptos_hot_reload::parsing::value_to_string;
use proc_macro2::{Ident, Span, TokenStream};
use quote::{format_ident, quote_spanned, ToTokens, TokenStreamExt};
use quote::{format_ident, quote, quote_spanned, ToTokens, TokenStreamExt};
use syn::{
parse::Parse, parse_quote, spanned::Spanned,
AngleBracketedGenericArguments, Attribute, FnArg, GenericArgument, Item,
Expand Down
2 changes: 1 addition & 1 deletion leptos_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern crate proc_macro_error;
use component::DummyModel;
use proc_macro::TokenStream;
use proc_macro2::{Span, TokenTree};
use quote::ToTokens;
use quote::{quote, ToTokens};
use rstml::{node::KeyedAttribute, parse};
use syn::{parse_macro_input, spanned::Spanned, token::Pub, Visibility};

Expand Down
2 changes: 1 addition & 1 deletion leptos_macro/src/slot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::component::{
};
use attribute_derive::Attribute as AttributeDerive;
use proc_macro2::{Ident, TokenStream};
use quote::{ToTokens, TokenStreamExt};
use quote::{quote, ToTokens, TokenStreamExt};
use syn::{
parse::Parse, parse_quote, Field, ItemStruct, LitStr, Meta, Type,
Visibility,
Expand Down

0 comments on commit 8feb2cd

Please sign in to comment.