you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 month ago

That's what the unsafe keyword is for. HOW DARE THE BORROW CHECKER QUESTION MY DECISION TO RETURN A REFERENCE TO A TEMPORARY!

  • source
  • parent