Skip to content

Commit 14ee4e4

Browse files
Gankrafintelia
authored andcommitted
fixup Debug bounds
1 parent 9c566e6 commit 14ee4e4

File tree

1 file changed

+2
-2
lines changed
  • src/libstd/collections/hash

1 file changed

+2
-2
lines changed

src/libstd/collections/hash/map.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2287,7 +2287,7 @@ impl<'a, K, V> Debug for RawEntryBuilderHashed<'a, K, V> {
22872287
}
22882288

22892289
#[unstable(feature = "hash_raw_entry", issue = "42069")]
2290-
impl<'a, K, V> Debug for RawEntry<'a, K, V> {
2290+
impl<'a, K: Debug, V: Debug> Debug for RawEntry<'a, K, V> {
22912291
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
22922292
match *self {
22932293
RawEntry::Vacant(ref v) => {
@@ -2305,7 +2305,7 @@ impl<'a, K, V> Debug for RawEntry<'a, K, V> {
23052305
}
23062306

23072307
#[unstable(feature = "hash_raw_entry", issue = "42069")]
2308-
impl<'a, K, V> Debug for RawOccupiedEntry<'a, K, V> {
2308+
impl<'a, K: Debug, V: Debug> Debug for RawOccupiedEntry<'a, K, V> {
23092309
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
23102310
f.debug_struct("RawOccupiedEntry")
23112311
.field("key", self.key())

0 commit comments

Comments
 (0)