Deferred references (`&Transparent { inner: ref *foo }`)

That's technically true, but only because this would affect the language itself. That represents a much higher bar to clear than simply adding a new type/method/trait to the standard library.

3 Likes

True. It would clean up various usages of unsafe in stdlib tho:

  • Cell
  • CStr
  • Path
  • probably others
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.