Skip to content

Commit

Permalink
Removed unused lifetime.
Browse files Browse the repository at this point in the history
  • Loading branch information
pJunger committed May 14, 2019
1 parent 928d5cc commit e85211c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/checked_conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl<'a> Conversion<'a> {
}

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

0 comments on commit e85211c

Please sign in to comment.