mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
As of rust1.80: cargo clippy now reports doc indentation issues. (#2728)
This commit is contained in:
parent
b9c620d4cd
commit
5809c8f699
4 changed files with 23 additions and 24 deletions
|
@ -59,13 +59,12 @@ pub fn server_macro_impl(
|
||||||
.inputs
|
.inputs
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
.map(|f| {
|
.map(|f| {
|
||||||
let typed_arg = match f {
|
let typed_arg =
|
||||||
FnArg::Receiver(_) => {
|
match f {
|
||||||
return Err(syn::Error::new(
|
FnArg::Receiver(_) => return Err(syn::Error::new(
|
||||||
f.span(),
|
f.span(),
|
||||||
"cannot use receiver types in server function macro",
|
"cannot use receiver types in server function macro",
|
||||||
))
|
)),
|
||||||
}
|
|
||||||
FnArg::Typed(t) => t,
|
FnArg::Typed(t) => t,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue