docs.rs icon indicating copy to clipboard operation
docs.rs copied to clipboard

Is it a good idea to distinguish associated method and instance method in docs?

Open denglitong opened this issue 6 years ago • 2 comments

Well i wonder if it's the right place to say this, if it's not please correct me. As the follow screenshot shows, i wonder if it's a good idea to make docs better by adding some symbol in the sidebar to distinguish the associated method vs instance mathod? image for example we can add something like a star ahead of associated method? * open metadata * create

denglitong avatar Apr 12 '20 11:04 denglitong

Well i wonder if it's the right place to say this, if it's not please correct me.

The right place would be https://github.com/rust-lang/rust/issues. Docs.rs just builds the documentation, we don't control what it looks like for the most part.

In response to your question - distinguishing sounds useful but takes up more screen space on the overview, which there's already not very much of. So I wonder if it's worth it given you can just look at the method signature.

jyn514 avatar Apr 12 '20 12:04 jyn514

Thanks for your response, I got it.

denglitong avatar Apr 13 '20 12:04 denglitong