-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is a trait object, exactly? #392
Comments
Though you'd have to do |
Also, the non-auto (principal) trait no longer needs to come first, so this page is out of date, too. |
The current wording is pretty confusing and needs refining.
This suggests a trait object is a value.
This suggests "dyn Trait" itself is a trait object.
This suggests a trait object is a value of type "dyn Trait".
After reading this section, I still don't know which part in
is the trait object here. Is it
reader
,dyn Read
, orFile
?The text was updated successfully, but these errors were encountered: