1.25.0 -> 1.26.-
This commit is contained in:
parent
4360dfa126
commit
0aa753ba30
2 changed files with 2 additions and 2 deletions
|
@ -2128,7 +2128,7 @@ impl<'a, K: Ord, V> Entry<'a, K, V> {
|
|||
/// .or_insert(42);
|
||||
/// assert_eq!(map["poneyland"], 43);
|
||||
/// ```
|
||||
#[stable(feature = "entry_and_modify", since = "1.25.0")]
|
||||
#[stable(feature = "entry_and_modify", since = "1.26.0")]
|
||||
pub fn and_modify<F>(self, mut f: F) -> Self
|
||||
where F: FnMut(&mut V)
|
||||
{
|
||||
|
|
|
@ -2080,7 +2080,7 @@ impl<'a, K, V> Entry<'a, K, V> {
|
|||
/// .or_insert(42);
|
||||
/// assert_eq!(map["poneyland"], 43);
|
||||
/// ```
|
||||
#[stable(feature = "entry_and_modify", since = "1.25.0")]
|
||||
#[stable(feature = "entry_and_modify", since = "1.26.0")]
|
||||
pub fn and_modify<F>(self, mut f: F) -> Self
|
||||
where F: FnMut(&mut V)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue