-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V0.3.1 #70
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
} | ||
|
||
#[allow(dead_code)] | ||
fn grad_ctx_with_args(ctx: &Box<Expr>, args: &Punctuated<Expr, Comma>, var: &Ident) -> TokenStream { |
Check failure
Code scanning / clippy
you seem to be trying to use &Box<T>. Consider using just &T Error
} | ||
|
||
#[allow(dead_code)] | ||
pub fn attrs_is_lexical(attrs: &Vec<syn::Attribute>) -> bool { |
Check warning
Code scanning / clippy
writing &Vec instead of &[_] involves a new object where a slice will do Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clippy found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Focus