File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ struct PreservedTemplate<'a> {
72
72
annotations : BTreeMap < & ' a AnyId , & ' a SmolStr > ,
73
73
}
74
74
75
- impl < ' a > PartialEq for PreservedTemplate < ' a > {
75
+ impl PartialEq for PreservedTemplate < ' _ > {
76
76
fn eq ( & self , other : & Self ) -> bool {
77
77
self . template . effect ( ) == other. template . effect ( )
78
78
&& self . template . principal_constraint ( ) == other. template . principal_constraint ( )
@@ -86,7 +86,7 @@ impl<'a> PartialEq for PreservedTemplate<'a> {
86
86
}
87
87
}
88
88
89
- impl < ' a > Hash for PreservedTemplate < ' a > {
89
+ impl Hash for PreservedTemplate < ' _ > {
90
90
fn hash < H : Hasher > ( & self , hasher : & mut H ) {
91
91
self . template . effect ( ) . hash ( hasher) ;
92
92
self . template . principal_constraint ( ) . hash ( hasher) ;
@@ -131,8 +131,8 @@ pub fn policy_set_to_text(policy_set: &cedar_policy_core::ast::PolicySet) -> Str
131
131
if let Some ( template) = iter. next ( ) {
132
132
to_cedar_text ( template, & mut res) . unwrap ( ) ;
133
133
for template in iter {
134
- to_cedar_text ( template, & mut res) . unwrap ( ) ;
135
134
writeln ! ( & mut res) . unwrap ( ) ;
135
+ to_cedar_text ( template, & mut res) . unwrap ( ) ;
136
136
}
137
137
}
138
138
res
You can’t perform that action at this time.
0 commit comments