Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Nov 2, 2024
1 parent 8860f3b commit c1e886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bevy_lint/src/utils/hir_parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use rustc_lint::LateContext;
/// Returns the list of types inside a tuple type.
///
/// If the type is not a tuple, returns a list containing the type itself.
pub(crate) fn detuple<'hir>(ty: Ty<'hir>) -> Vec<Ty<'hir>> {
pub(crate) fn detuple(ty: Ty<'_>) -> Vec<Ty<'_>> {
if let TyKind::Tup(items) = ty.peel_refs().kind {
items.to_vec()
} else {
Expand Down

0 comments on commit c1e886b

Please sign in to comment.