File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,7 @@ where
116
116
} )
117
117
. collect ( ) ;
118
118
119
- self . crtc_mapper
120
- . map ( drm, self . connectors . connectors ( ) . iter ( ) . map ( |( _, info) | info) ) ;
119
+ self . crtc_mapper . map ( drm, self . connectors . connectors ( ) . values ( ) ) ;
121
120
122
121
let added = scan
123
122
. connected
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ impl Id {
164
164
///
165
165
/// Note: The id will be re-used once all instances of this [`Id`]
166
166
/// are dropped.
167
+ #[ allow( clippy:: new_without_default) ]
167
168
pub fn new ( ) -> Self {
168
169
Id ( InnerId :: External ( Arc :: new ( ExternalId :: new ( ) ) ) )
169
170
}
Original file line number Diff line number Diff line change @@ -326,6 +326,12 @@ mod list {
326
326
}
327
327
}
328
328
329
+ impl < T > Default for AppendList < T > {
330
+ fn default ( ) -> Self {
331
+ Self :: new ( )
332
+ }
333
+ }
334
+
329
335
#[ derive( Debug ) ]
330
336
pub struct AppendListIterator < ' a , T > ( & ' a AtomicPtr < Node < T > > ) ;
331
337
You can’t perform that action at this time.
0 commit comments