diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-04 03:24:30 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-04 03:24:30 +0800 |
| commit | 830957e7c7cd1777289d9ae98550451beb957478 (patch) | |
| tree | f3f978d7129f46e70cff6b0f2ffbe152cb2247c0 /mingling_macros | |
| parent | 0cbb1d00be74fce160dae65b6495cac817009454 (diff) | |
Apply clippy suggestions in chain related files
Diffstat (limited to 'mingling_macros')
| -rw-r--r-- | mingling_macros/src/chain.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/chain.rs b/mingling_macros/src/chain.rs index e7b2db2..6646a68 100644 --- a/mingling_macros/src/chain.rs +++ b/mingling_macros/src/chain.rs @@ -77,7 +77,7 @@ pub fn chain_attr(attr: TokenStream, item: TokenStream) -> TokenStream { match &**ty { Type::Path(type_path) => { let last_segment = type_path.path.segments.last().unwrap(); - if last_segment.ident.to_string() != "NextProcess" { + if last_segment.ident != "NextProcess" { return syn::Error::new( ty.span(), "Chain function must return `NextProcess`", |
