File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ async fn reload_subscriptions(
165165 // mem_subscriptions is indexed on "public version"
166166 // To know whether something has changed, we must rely "on internal version"
167167 let mem_subscriptions_internal_version: HashSet < InternalVersion > = mem_subscriptions
168- . iter ( )
169- . map ( |( _ , subscription) | subscription. data ( ) . internal_version ( ) )
168+ . values ( )
169+ . map ( |subscription| subscription. data ( ) . internal_version ( ) )
170170 . collect ( ) ;
171171
172172 for subscription_data in db_subscriptions {
@@ -258,8 +258,8 @@ async fn reload_subscriptions(
258258 debug ! (
259259 "Active subscriptions are: {}" ,
260260 mem_subscriptions
261- . iter ( )
262- . map( |( _ , subscription) | format!(
261+ . values ( )
262+ . map( |subscription| format!(
263263 "\" {}\" (uuid:{}, internal_version:{}, public_version:{})" ,
264264 subscription. data. name( ) ,
265265 subscription. data. uuid( ) ,
You can’t perform that action at this time.
0 commit comments