File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ impl MaybeTlsStreamBuilder {
131
131
}
132
132
}
133
133
134
- fn tls_servername ( & self ) -> Option < rustls:: pki_types:: ServerName > {
134
+ fn tls_servername ( & self ) -> Option < rustls:: pki_types:: ServerName < ' _ > > {
135
135
let host_str = self . url . host_str ( ) ?;
136
136
let servername = rustls:: pki_types:: ServerName :: try_from ( host_str) . ok ( ) ?;
137
137
Some ( servername)
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ impl BestAddr {
180
180
self . 0 = Some ( inner) ;
181
181
}
182
182
183
- pub fn state ( & self , now : Instant ) -> State {
183
+ pub fn state ( & self , now : Instant ) -> State < ' _ > {
184
184
match & self . 0 {
185
185
None => State :: Empty ,
186
186
Some ( state) => match state. trust_until {
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pub trait Watcher: Clone {
152
152
/// # Cancel Safety
153
153
///
154
154
/// The returned future is cancel-safe.
155
- fn updated ( & mut self ) -> NextFut < Self > {
155
+ fn updated ( & mut self ) -> NextFut < ' _ , Self > {
156
156
NextFut { watcher : self }
157
157
}
158
158
@@ -166,7 +166,7 @@ pub trait Watcher: Clone {
166
166
/// # Cancel Safety
167
167
///
168
168
/// The returned future is cancel-safe.
169
- fn initialized < T > ( & mut self ) -> InitializedFut < T , Self >
169
+ fn initialized < T > ( & mut self ) -> InitializedFut < ' _ , T , Self >
170
170
where
171
171
Self : Watcher < Value = Option < T > > ,
172
172
{
You can’t perform that action at this time.
0 commit comments