Skip to content

Commit 3f7d5cb

Browse files
authored
ci: clippy got powered-up, make it happy (#2381)
New "uninlined_format_args" warning
1 parent 3592d11 commit 3f7d5cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hugr-core/src/types/type_param.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pub enum Term {
119119
/// Instance of [`TypeParam::List`] defined by a sequence of concatenated lists of the same type.
120120
#[display("[{}]", {
121121
use itertools::Itertools as _;
122-
_0.iter().map(|t| format!("... {}", t)).join(",")
122+
_0.iter().map(|t| format!("... {t}")).join(",")
123123
})]
124124
ListConcat(Vec<TypeArg>),
125125
/// Instance of [`TypeParam::Tuple`] defined by a sequence of elements of varying type.
@@ -131,7 +131,7 @@ pub enum Term {
131131
/// Instance of [`TypeParam::Tuple`] defined by a sequence of concatenated tuples.
132132
#[display("({})", {
133133
use itertools::Itertools as _;
134-
_0.iter().map(|tuple| format!("... {}", tuple)).join(",")
134+
_0.iter().map(|tuple| format!("... {tuple}")).join(",")
135135
})]
136136
TupleConcat(Vec<TypeArg>),
137137
/// Variable (used in type schemes or inside polymorphic functions),

0 commit comments

Comments
 (0)