Can traits be documented?

⚓ rust    📅 2025-07-02    👤 surdeus    👁️ 2      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Can traits be documented?

The documentation for traits does not does not include the outer attribute in the grammar.

This isn't critical but I was curious, are all items belonging to type-namespace the same (i.e can't be documented)?

I assume this can not be the case since structs are, and they can be documented?

So I am unsure whether I am misreading the grammar there.

4 posts - 3 participants

Read full topic

🏷️ rust_feed