@@ -2004,7 +2004,7 @@ impl<K, V> BTreeMap<K, V> {
2004
2004
/// assert_eq!(keys, [1, 2]);
2005
2005
/// ```
2006
2006
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2007
- pub fn keys ( & self ) -> Keys < ' _ , K , V > {
2007
+ pub fn keys < ' a > ( & ' a self ) -> Keys < ' a , K , V > {
2008
2008
Keys { inner : self . iter ( ) }
2009
2009
}
2010
2010
@@ -2025,7 +2025,7 @@ impl<K, V> BTreeMap<K, V> {
2025
2025
/// assert_eq!(values, ["hello", "goodbye"]);
2026
2026
/// ```
2027
2027
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2028
- pub fn values ( & self ) -> Values < ' _ , K , V > {
2028
+ pub fn values < ' a > ( & ' a self ) -> Values < ' a , K , V > {
2029
2029
Values { inner : self . iter ( ) }
2030
2030
}
2031
2031
@@ -2529,8 +2529,8 @@ enum UnderflowResult<'a, K, V> {
2529
2529
Stole ( NodeRef < marker:: Mut < ' a > , K , V , marker:: Internal > ) ,
2530
2530
}
2531
2531
2532
- fn handle_underfull_node < K , V > ( node : NodeRef < marker:: Mut < ' _ > , K , V , marker:: LeafOrInternal > )
2533
- -> UnderflowResult < ' _ , K , V > {
2532
+ fn handle_underfull_node < ' a , K , V > ( node : NodeRef < marker:: Mut < ' a > , K , V , marker:: LeafOrInternal > )
2533
+ -> UnderflowResult < ' a , K , V > {
2534
2534
let parent = if let Ok ( parent) = node. ascend ( ) {
2535
2535
parent
2536
2536
} else {
0 commit comments