Merge pull request #2030 from rtretter/main

fixed clippy failing in non-server environment
This commit is contained in:
Jonathan Kelley 2024-03-08 15:01:55 -08:00 committed by GitHub
commit 822fc79531
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ pub fn server_only(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -30,7 +30,7 @@ pub fn client(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -45,7 +45,7 @@ pub fn web(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -60,7 +60,7 @@ pub fn desktop(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -75,7 +75,7 @@ pub fn fullstack(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -90,7 +90,7 @@ pub fn ssr(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -105,7 +105,7 @@ pub fn liveview(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()
@ -120,7 +120,7 @@ pub fn tui(input: TokenStream) -> TokenStream {
} }
} else { } else {
quote! { quote! {
() || {}
} }
} }
.into() .into()