Hacker News new | ask | show | jobs
by gulbanana 1602 days ago
(*role) is not a reference at all, it is a value. its type is Role.
1 comments

lvalue not mutable reference, got it. I'm surprised there are contexts where one is fine but the other is UB, but I understand the rule.