File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl Session for KeyStorage {
151
151
} = identity;
152
152
info ! ( "Would use these constraints: {constraints:#?}" ) ;
153
153
for constraint in constraints {
154
- if let KeyConstraint :: Extension ( mut extension) = constraint {
154
+ if let KeyConstraint :: Extension ( extension) = constraint {
155
155
if let Some ( destination) =
156
156
extension. parse_key_constraint :: < RestrictDestination > ( ) ?
157
157
{
Original file line number Diff line number Diff line change @@ -589,9 +589,7 @@ impl Extension {
589
589
/// If there is a mismatch between the extension name
590
590
/// and the [`KeyConstraintExtension::NAME`], this method
591
591
/// will return [`None`]
592
- pub fn parse_key_constraint < T > (
593
- & mut self ,
594
- ) -> std:: result:: Result < Option < T > , <T as Decode >:: Error >
592
+ pub fn parse_key_constraint < T > ( & self ) -> std:: result:: Result < Option < T > , <T as Decode >:: Error >
595
593
where
596
594
T : KeyConstraintExtension + Decode ,
597
595
{
You can’t perform that action at this time.
0 commit comments