We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba841f0 commit 668af80Copy full SHA for 668af80
src/libcollections/binary_heap.rs
@@ -1236,6 +1236,15 @@ where T: Clone + Ord {
1236
place: vec::PlaceBack<'a, T>,
1237
}
1238
1239
+#[stable(feature = "collection_debug", since = "1.15.0")]
1240
+impl<'a, T: Clone + Ord + fmt::Debug> fmt::Debug for BinaryHeapPlace<'a, T> {
1241
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
1242
+ f.debug_tuple("BinaryHeapPlace")
1243
+ .field(&self)
1244
+ .finish()
1245
+ }
1246
+}
1247
+
1248
#[unstable(feature = "collection_placement",
1249
reason = "placement protocol is subject to change",
1250
issue = "30172")]
0 commit comments