File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ enum_variant_names = "allow"
167
167
new_ret_no_self = " allow"
168
168
169
169
# # Following lints should be tackled at some point
170
- bind_instead_of_map = " allow"
171
170
borrowed_box = " allow"
172
171
borrow_deref_ref = " allow"
173
172
collapsible_if = " allow"
Original file line number Diff line number Diff line change @@ -4300,7 +4300,7 @@ impl Type {
4300
4300
) -> impl Iterator < Item = SmolStr > + ' a {
4301
4301
// iterate the lifetime
4302
4302
self . as_adt ( )
4303
- . and_then ( |a| a. lifetime ( db) . and_then ( |lt| Some ( ( & lt. name ) . to_smol_str ( ) ) ) )
4303
+ . and_then ( |a| a. lifetime ( db) . map ( |lt| ( & lt. name ) . to_smol_str ( ) ) )
4304
4304
. into_iter ( )
4305
4305
// add the type and const parameters
4306
4306
. chain ( self . type_and_const_arguments ( db) )
You can’t perform that action at this time.
0 commit comments