Skip to content

Commit e6a09f8

Browse files
author
dj8yf0μl
committed
doc: replace references from Serialize, not reachable outside of derive context
1 parent 1fddf16 commit e6a09f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/rustdoc_include/borsh_serialize.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ struct A<U, V> {
3737

3838
###### syntax
3939

40-
Attribute takes literal string value, which is the syn's [Path] to `borsh` crate used.
40+
Attribute takes literal string value, which is the syn's [Path](https://docs.rs/syn/2.0.92/syn/struct.Path.html) to `borsh` crate used.
4141

4242
###### usage
4343

4444
Attribute is optional.
4545

46-
1. If the attribute is not provided, [crate_name](proc_macro_crate::crate_name) is used to find a version of `borsh`
46+
1. If the attribute is not provided, [crate_name](https://docs.rs/proc-macro-crate/3.2.0/proc_macro_crate/fn.crate_name.html) is used to find a version of `borsh`
4747
in `[dependencies]` of the relevant `Cargo.toml`. If there is no match, a compilation error, similar to the following, is raised:
4848

4949
```bash
@@ -165,7 +165,7 @@ struct A {
165165
166166
###### syntax
167167
168-
Attribute takes literal string value, which is a comma-separated list of syn's [WherePredicate](syn::WherePredicate)-s, which may be empty.
168+
Attribute takes literal string value, which is a comma-separated list of syn's [WherePredicate](https://docs.rs/syn/latest/syn/enum.WherePredicate.html)-s, which may be empty.
169169
170170
###### usage
171171
@@ -210,7 +210,7 @@ irrelevant of whether `#[borsh(skip)]` attribute is present.
210210
211211
###### syntax
212212
213-
Attribute takes literal string value, which is a syn's [ExprPath](syn::ExprPath).
213+
Attribute takes literal string value, which is a syn's [ExprPath](https://docs.rs/syn/latest/syn/struct.ExprPath.html).
214214
215215
###### usage
216216

0 commit comments

Comments
 (0)