File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 25
25
- uses : actions/checkout@v2
26
26
- uses : actions-rs/toolchain@v1
27
27
with :
28
- toolchain : 1.70 .0 # MSRV
28
+ toolchain : 1.81 .0 # pinned to prevent breakages
29
29
components : clippy
30
30
override : true
31
31
profile : minimal
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ impl<S: Zeroize + ?Sized> SecretBox<S> {
88
88
}
89
89
}
90
90
91
- impl < S : Zeroize + Default + ? Sized > SecretBox < S > {
91
+ impl < S : Zeroize + Default > SecretBox < S > {
92
92
/// Create a secret value using a function that can initialize the value in-place.
93
93
pub fn init_with_mut ( ctr : impl FnOnce ( & mut S ) ) -> Self {
94
94
let mut secret = Self :: default ( ) ;
@@ -97,7 +97,7 @@ impl<S: Zeroize + Default + ?Sized> SecretBox<S> {
97
97
}
98
98
}
99
99
100
- impl < S : Zeroize + Clone + ? Sized > SecretBox < S > {
100
+ impl < S : Zeroize + Clone > SecretBox < S > {
101
101
/// Create a secret value using the provided function as a constructor.
102
102
///
103
103
/// The implementation makes an effort to zeroize the locally constructed value
@@ -130,7 +130,7 @@ impl<S: Zeroize + Clone + ?Sized> SecretBox<S> {
130
130
}
131
131
}
132
132
133
- impl < S : Zeroize + ? Sized + Default > Default for SecretBox < S > {
133
+ impl < S : Zeroize + Default > Default for SecretBox < S > {
134
134
fn default ( ) -> Self {
135
135
Self {
136
136
inner_secret : Box :: < S > :: default ( ) ,
You can’t perform that action at this time.
0 commit comments