Skip to content

Commit

Permalink
Fix broken doc links (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Apr 10, 2024
1 parent 21cb8d0 commit 6df1a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ the incoming data.
First the "type" is read using the `type`, then is matched against the
variants given `id`. What happens after is the same as structs!
This is implemented with the [id](/attributes/index.html#id),
[id_pat](/attributes/index.html#id_pat), [default](/attributes/index.html#default) and
This is implemented with the [id](attributes#id),
[id_pat](attributes#id_pat), [default](attributes#default) and
[type](attributes#type) attributes. See these for more examples.
If no `id` is specified, the variant will default to it's discriminant value.
Expand Down

0 comments on commit 6df1a1b

Please sign in to comment.