File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl Sealer {
208208 protected_attributes : impl AsRef < [ Cow < ' a , str > ] > ,
209209 cipher : & ScopedZeroKmsCipher ,
210210 ) -> Result < Vec < Sealed > , SealError > {
211- Self :: index_all_terms ( records, protected_attributes, & cipher) ?
211+ Self :: index_all_terms ( records, protected_attributes, cipher) ?
212212 . encrypt ( cipher)
213213 . await
214214 }
Original file line number Diff line number Diff line change @@ -83,10 +83,15 @@ impl PreparedQuery {
8383
8484impl < S > QueryBuilder < S > {
8585 pub fn new ( ) -> Self {
86+ Self :: default ( )
87+ }
88+ }
89+
90+ impl < S > Default for QueryBuilder < S > {
91+ fn default ( ) -> Self {
8692 Self {
8793 parts : vec ! [ ] ,
8894 storage : Default :: default ( ) ,
89- // FIXME: Why is this Default and not PhantomData?
9095 __searchable : Default :: default ( ) ,
9196 }
9297 }
You can’t perform that action at this time.
0 commit comments