mirror of
https://github.com/rust-lang/cargo
synced 2024-08-27 11:19:23 +00:00
implement clippy suggestion to remove needless return
This commit is contained in:
parent
e1501f17ab
commit
37ec84d09a
|
@ -52,7 +52,7 @@ pub fn cargo_test(attr: TokenStream, item: TokenStream) -> TokenStream {
|
||||||
))));
|
))));
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
ret
|
||||||
}
|
}
|
||||||
|
|
||||||
fn contains_ident(t: &TokenStream, ident: &str) -> bool {
|
fn contains_ident(t: &TokenStream, ident: &str) -> bool {
|
||||||
|
|
Loading…
Reference in a new issue