Y
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
remram
1601 days ago
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.
link