1.25.0 -> 1.26.-

This commit is contained in:
Manish Goregaokar 2018-02-24 21:06:29 -08:00 committed by kennytm
parent 4360dfa126
commit 0aa753ba30
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -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)
{