File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1080,7 +1080,7 @@ impl ValueSet<'_> {
10801080 /// [visitor]: Visit
10811081 /// [`ValueSet::record()`]: ValueSet::record()
10821082 pub fn len ( & self ) -> usize {
1083- match & self . values {
1083+ match self . values {
10841084 Values :: Mixed ( values) => {
10851085 let my_callsite = self . callsite ( ) ;
10861086 values
@@ -1097,19 +1097,17 @@ impl ValueSet<'_> {
10971097 if field. callsite ( ) != self . callsite ( ) {
10981098 return false ;
10991099 }
1100- match & self . values {
1100+ match self . values {
11011101 Values :: Mixed ( values) => values
11021102 . iter ( )
11031103 . any ( |( key, val) | * key == field && val. is_some ( ) ) ,
1104- Values :: All ( values) => {
1105- values[ field. i ] . is_some ( )
1106- }
1104+ Values :: All ( values) => values[ field. i ] . is_some ( ) ,
11071105 }
11081106 }
11091107
11101108 /// Returns true if this `ValueSet` contains _no_ values.
11111109 pub fn is_empty ( & self ) -> bool {
1112- match & self . values {
1110+ match self . values {
11131111 Values :: All ( values) => values. iter ( ) . all ( |v| v. is_none ( ) ) ,
11141112 Values :: Mixed ( values) => {
11151113 let my_callsite = self . callsite ( ) ;
You can’t perform that action at this time.
0 commit comments