@@ -365,7 +365,7 @@ where
365
365
let mut enforcement = Enforcement :: default ( ) ;
366
366
367
367
if let Some ( category) = summary. event_category {
368
- let event_limits = ( & mut self . check ) ( scoping. item ( category) , 1 ) ?;
368
+ let event_limits = ( self . check ) ( scoping. item ( category) , 1 ) ?;
369
369
let longest = event_limits. longest ( ) ;
370
370
enforcement. event = CategoryLimit :: new ( category, 1 , longest) ;
371
371
@@ -381,7 +381,7 @@ where
381
381
382
382
if !enforcement. event . is_active ( ) && summary. attachment_quantity > 0 {
383
383
let item_scoping = scoping. item ( DataCategory :: Attachment ) ;
384
- let attachment_limits = ( & mut self . check ) ( item_scoping, summary. attachment_quantity ) ?;
384
+ let attachment_limits = ( self . check ) ( item_scoping, summary. attachment_quantity ) ?;
385
385
enforcement. attachments = CategoryLimit :: new (
386
386
DataCategory :: Attachment ,
387
387
summary. attachment_quantity ,
@@ -398,7 +398,7 @@ where
398
398
399
399
if summary. session_quantity > 0 {
400
400
let item_scoping = scoping. item ( DataCategory :: Session ) ;
401
- let session_limits = ( & mut self . check ) ( item_scoping, summary. session_quantity ) ?;
401
+ let session_limits = ( self . check ) ( item_scoping, summary. session_quantity ) ?;
402
402
enforcement. sessions = CategoryLimit :: new (
403
403
DataCategory :: Session ,
404
404
summary. session_quantity ,
0 commit comments