Something that has been confusing me ( I am very easily confused ).
When I run cargo doc, the trait methods (not the documentation) can be hidden, e.g.
Show 14 methods
But docs.rs doesn’t have this feature ( example ).
Is this just a temporary state of affairs while docs.rs “catches up”, or is it a bug, or what?
That option only shows up when the trait has more than 12 methods, in which case they are hidden in the trait Name {} block by default. This is presumably so that the methods don't make it hard to find the trait’s documentation.
trait Name {}
Oh! I get it now, silly me, I was looking at a different trait that has more methods.
12 seems quite a lot, but anyway, my confusion is cured.
I think it should happen if it displays as more than say 8 lines, something more like that.