Improve documentation for the position
field of the QSelf
type, which is difficult to understand.
#1386
Labels
position
field of the QSelf
type, which is difficult to understand.
#1386
I struggled for quite a while to understand how to deal with the position field of the
syn::QSelf
type. I understand that as an author it is difficult to see parts in a projectthat are not understandable, so I made this issue.
I had a few questions that I think the documentation should answer:
The docs mention that the
as
trait and associated item are stored separately,but there is no mention of where that is.
It also mentions that the position for
AssociatedItem
in<Vec<T> as a::b::Trait>::AssociatedItem
is
3
, but not how this number changes depending on the type. For example, what would be the position ofthe
a::b::Trait
be? How could one obtain this? An example code would be immensely helpful. I am not good with writing examples, but here is something as an idea:The text was updated successfully, but these errors were encountered: