Skip to content

Commit

Permalink
doc: replace references from Serialize, not reachable outside of deri…
Browse files Browse the repository at this point in the history
…ve context
  • Loading branch information
dj8yf0μl committed Dec 28, 2024
1 parent 1fddf16 commit e6a09f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rustdoc_include/borsh_serialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ struct A<U, V> {

###### syntax

Attribute takes literal string value, which is the syn's [Path] to `borsh` crate used.
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.

###### usage

Attribute is optional.

1. If the attribute is not provided, [crate_name](proc_macro_crate::crate_name) is used to find a version of `borsh`
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`
in `[dependencies]` of the relevant `Cargo.toml`. If there is no match, a compilation error, similar to the following, is raised:

```bash
Expand Down Expand Up @@ -165,7 +165,7 @@ struct A {
###### syntax
Attribute takes literal string value, which is a comma-separated list of syn's [WherePredicate](syn::WherePredicate)-s, which may be empty.
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.
###### usage
Expand Down Expand Up @@ -210,7 +210,7 @@ irrelevant of whether `#[borsh(skip)]` attribute is present.
###### syntax
Attribute takes literal string value, which is a syn's [ExprPath](syn::ExprPath).
Attribute takes literal string value, which is a syn's [ExprPath](https://docs.rs/syn/latest/syn/struct.ExprPath.html).
###### usage
Expand Down

0 comments on commit e6a09f8

Please sign in to comment.