Fix new clippy lints

This commit is contained in:
Lukas Wirth 2024-03-22 11:38:18 +01:00
parent 8e324e98a1
commit 2ae3e57c26
33 changed files with 31 additions and 42 deletions

View file

@ -1,4 +1,5 @@
//!
//! Implementation for `[salsa::database]` decorator.
use heck::ToSnakeCase;
use proc_macro::TokenStream;
use syn::parse::{Parse, ParseStream};

View file

@ -1,4 +1,4 @@
//!
//! Parenthesis helper
pub(crate) struct Parenthesized<T>(pub(crate) T);
impl<T> syn::parse::Parse for Parenthesized<T>

View file

@ -1,4 +1,4 @@
//!
//! Implementation for `[salsa::query_group]` decorator.
use crate::parenthesized::Parenthesized;
use heck::ToUpperCamelCase;