@@ -130,11 +130,10 @@ impl Keyring {
130
130
/// If `target` is given, the found keyring will be linked into it. If `target` is not given
131
131
/// and a new key is constructed due to the request, it will be linked into the default
132
132
/// keyring (see `Keyring::set_default`).
133
- pub fn request < ' a , D , I , IS , T > ( description : D , info : I , target : T ) -> Result < Self >
133
+ pub fn request < ' s , ' a , D , I , T > ( description : D , info : I , target : T ) -> Result < Self >
134
134
where
135
135
D : AsRef < str > ,
136
- I : Into < Option < IS > > ,
137
- IS : AsRef < str > ,
136
+ I : Into < Option < & ' s str > > ,
138
137
T : Into < Option < TargetKeyring < ' a > > > ,
139
138
{
140
139
check_call_keyring ( request_impl :: < keytypes:: Keyring > (
@@ -496,12 +495,11 @@ impl Key {
496
495
/// If `target` is given, the found keyring will be linked into it. If `target` is not given
497
496
/// and a new key is constructed due to the request, it will be linked into the default
498
497
/// keyring (see `Keyring::set_default`).
499
- pub fn request < ' a , K , D , I , IS , T > ( description : D , info : I , target : T ) -> Result < Self >
498
+ pub fn request < ' s , ' a , K , D , I , T > ( description : D , info : I , target : T ) -> Result < Self >
500
499
where
501
500
K : KeyType ,
502
501
D : Borrow < K :: Description > ,
503
- I : Into < Option < IS > > ,
504
- IS : AsRef < str > ,
502
+ I : Into < Option < & ' s str > > ,
505
503
T : Into < Option < TargetKeyring < ' a > > > ,
506
504
{
507
505
check_call_key ( request_impl :: < K > (
0 commit comments