bors c594959cdf auto merge of #19388 : nick29581/rust/rc-show, r=alexcrichto
r? @huonw or @alexcrichton

Apparently, we have previously rejected an RFC like this. However, since then we removed `{:?}` and so without this debugging gets really difficult as soon as there is a RefCell anywhere, so I believe there is more benefit to adding these impls than there was before. By using "try_borrow" we can avoid panicing in `Show` (I think).

@ huon in response to a comment in #19254: I noticed that `drop()` checks for the ptr being null, so I checked here too. Now I am checking for both, if you're confident I can change to only checking `strong()`.
2015-01-01 06:36:24 +00:00
..
2014-12-23 13:42:09 +01:00
2014-12-30 14:44:26 -08:00
2014-12-30 14:44:26 -08:00
2014-12-30 14:44:26 -08:00
2014-12-24 12:40:42 +02:00
2014-12-30 14:44:26 -08:00
2014-12-30 17:06:08 -08:00
2014-12-26 17:26:33 +01:00
2014-12-28 19:40:48 -05:00
2014-12-30 15:04:43 -08:00
2014-12-28 19:40:48 -05:00
2014-12-30 15:04:43 -08:00
2014-12-21 23:31:42 -08:00
2014-12-30 15:04:43 -08:00
2014-12-30 14:44:26 -08:00
2014-12-30 14:44:26 -08:00