File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ Intra-doc links (you can see the full explanations for the feature
3939[ here] ( https://doc.rust-lang.org/rustdoc/write-documentation/linking-to-items-by-name.html ) )
4040should be used as much as possible whenever a type is mentioned.
4141
42- Little note: when you are documenting an item, no need to link to it. So if you
43- write documentation for ` String::push_str ` method, no need to link to the method
44- ` push_str ` or to the ` String ` type.
42+ Little note: when you are documenting an item, there is no need to link to it.
43+ So, if you write documentation for the ` String::push_str ` method, there is
44+ no need to link to the ` push_str ` method or the ` String ` type.
4545
4646If you have cases like ` Vec<String> ` , you need to use intra-doc links on both
4747` Vec ` and ` String ` as well. It would look like this:
You can’t perform that action at this time.
0 commit comments