mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Fix new clippy lints
This commit is contained in:
parent
8e324e98a1
commit
2ae3e57c26
33 changed files with 31 additions and 42 deletions
|
@ -1,4 +1,5 @@
|
|||
//!
|
||||
//! Implementation for `[salsa::database]` decorator.
|
||||
|
||||
use heck::ToSnakeCase;
|
||||
use proc_macro::TokenStream;
|
||||
use syn::parse::{Parse, ParseStream};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//!
|
||||
//! Parenthesis helper
|
||||
pub(crate) struct Parenthesized<T>(pub(crate) T);
|
||||
|
||||
impl<T> syn::parse::Parse for Parenthesized<T>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//!
|
||||
//! Implementation for `[salsa::query_group]` decorator.
|
||||
|
||||
use crate::parenthesized::Parenthesized;
|
||||
use heck::ToUpperCamelCase;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue