Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
gulbanana
4y ago
0 comments
Share
(*role) is not a reference at all, it is a value. its type is Role.
0 comments
default
newest
oldest
remram
4y 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.
j
/
k
navigate · click thread line to collapse