File tree 1 file changed +3
-3
lines changed
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
39
39
[ here] ( https://doc.rust-lang.org/rustdoc/write-documentation/linking-to-items-by-name.html ) )
40
40
should be used as much as possible whenever a type is mentioned.
41
41
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.
45
45
46
46
If you have cases like ` Vec<String> ` , you need to use intra-doc links on both
47
47
` Vec ` and ` String ` as well. It would look like this:
You can’t perform that action at this time.
0 commit comments