Replies: 1 comment
-
Here are my thoughts:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why would I ever chose to write a function that takes
&T
when I could write a function that takesAsRef<T>
?It would help to discuss the pros and cons of these two options and give guidance. I think this would be in the Flexibility section, perhaps under C-GENERIC.
Beta Was this translation helpful? Give feedback.
All reactions