Skip to content

Commit 7e0f2e3

Browse files
committed
Removed unused lifetime.
1 parent ce9494a commit 7e0f2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/checked_conversions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl<'a> Conversion<'a> {
140140
}
141141

142142
/// Try to construct a new conversion if the conversion type is valid
143-
fn try_new<'b>(expr_to_cast: &'a Expr, from_type: Symbol, to_type: Symbol) -> Option<Conversion<'a>> {
143+
fn try_new(expr_to_cast: &'a Expr, from_type: Symbol, to_type: Symbol) -> Option<Conversion<'a>> {
144144
ConversionType::try_new(from_type, to_type).map(|cvt| Conversion {
145145
cvt,
146146
expr_to_cast,

0 commit comments

Comments
 (0)