Use issue number from rust-lang/rust, not rust-lang/rfcs.

This commit is contained in:
Stu Black 2016-03-15 23:48:15 -04:00
parent 2f454be47a
commit 2ddba6f361
2 changed files with 4 additions and 4 deletions

View File

@ -1467,7 +1467,7 @@ impl<'a, K: Ord, V> Entry<'a, K, V> {
impl<'a, K: Ord, V> VacantEntry<'a, K, V> {
/// Gets a reference to the key that would be used when inserting a value
/// through the VacantEntry.
#[unstable(feature = "map_entry_keys", issue = "1541")]
#[unstable(feature = "map_entry_keys", issue = "32281")]
pub fn key(&self) -> &K {
&self.key
}
@ -1517,7 +1517,7 @@ impl<'a, K: Ord, V> VacantEntry<'a, K, V> {
impl<'a, K: Ord, V> OccupiedEntry<'a, K, V> {
/// Gets a reference to the key in the entry.
#[unstable(feature = "map_entry_keys", issue = "1541")]
#[unstable(feature = "map_entry_keys", issue = "32281")]
pub fn key(&self) -> &K {
self.handle.reborrow().into_kv().0
}

View File

@ -1555,7 +1555,7 @@ impl<'a, K, V> Entry<'a, K, V> {
impl<'a, K, V> OccupiedEntry<'a, K, V> {
/// Gets a reference to the key in the entry.
#[unstable(feature = "map_entry_keys", issue = "1541")]
#[unstable(feature = "map_entry_keys", issue = "32281")]
pub fn key(&self) -> &K {
self.elem.read().0
}
@ -1597,7 +1597,7 @@ impl<'a, K, V> OccupiedEntry<'a, K, V> {
impl<'a, K: 'a, V: 'a> VacantEntry<'a, K, V> {
/// Gets a reference to the key that would be used when inserting a value
/// through the VacantEntry.
#[unstable(feature = "map_entry_keys", issue = "1541")]
#[unstable(feature = "map_entry_keys", issue = "32281")]
pub fn key(&self) -> &K {
&self.key
}