File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ impl Attrs {
117
117
}
118
118
119
119
impl Attrs {
120
- pub fn by_key < ' attrs > ( & ' attrs self , key : & ' attrs Symbol ) -> AttrQuery < ' _ > {
120
+ pub fn by_key < ' attrs > ( & ' attrs self , key : & ' attrs Symbol ) -> AttrQuery < ' attrs > {
121
121
AttrQuery { attrs : self , key }
122
122
}
123
123
@@ -594,7 +594,7 @@ impl<'attr> AttrQuery<'attr> {
594
594
/// #[doc(html_root_url = "url")]
595
595
/// ^^^^^^^^^^^^^ key
596
596
/// ```
597
- pub fn find_string_value_in_tt ( self , key : & ' attr Symbol ) -> Option < & str > {
597
+ pub fn find_string_value_in_tt ( self , key : & ' attr Symbol ) -> Option < & ' attr str > {
598
598
self . tt_values ( ) . find_map ( |tt| {
599
599
let name = tt. token_trees . iter ( )
600
600
. skip_while ( |tt| !matches ! ( tt, tt:: TokenTree :: Leaf ( tt:: Leaf :: Ident ( tt:: Ident { sym, ..} ) ) if * sym == * key) )
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ impl Body {
197
197
pub fn blocks < ' a > (
198
198
& ' a self ,
199
199
db : & ' a dyn DefDatabase ,
200
- ) -> impl Iterator < Item = ( BlockId , Arc < DefMap > ) > + ' _ {
200
+ ) -> impl Iterator < Item = ( BlockId , Arc < DefMap > ) > + ' a {
201
201
self . block_scopes . iter ( ) . map ( move |& block| ( block, db. block_def_map ( block) ) )
202
202
}
203
203
You can’t perform that action at this time.
0 commit comments