api-guidelines icon indicating copy to clipboard operation
api-guidelines copied to clipboard

Interesting case of the smart pointer inherent methods guideline

Open dtolnay opened this issue 7 years ago • 0 comments

https://github.com/rust-lang/rfcs/pull/1860#issuecomment-279848322 gives an interesting reason to consider not following the C-SMART-PTR guideline. In that case we decided to follow the guideline anyway, even though the motivation for the guideline does not apply. Let's bring up this case in the explanation of C-SMART-PTR and provide a more complete justification.

dtolnay avatar Jun 07 '17 05:06 dtolnay