Skip to content

Commit

Permalink
chore: link
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Jun 9, 2024
1 parent d3a6664 commit bf1bf0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/docs/guides/third-party/automatic/tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This page discusses some tricks that may be helpful when working with external c

## Injecting Dart code

The [`#[frb(dart_code)]`](../miscellaneous/dart-code) feature can be utilized when we want to inject anything into the generated Dart code.
The [`#[frb(dart_code)]`](../../miscellaneous/dart-code) feature can be utilized when we want to inject anything into the generated Dart code.
For example, we can add a method to an auto-generated Dart class.

## Using Rust macros
Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/third-party/manual/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ impl MyExternalStruct {

Remark: Just leave the function body empty (i.e. `{}`), no need to put anything there.

This feature is compatible with the [mirroring](../types/translatable/external/diff-crate) feature as well.
This feature is compatible with the [mirroring](../../types/translatable/external/diff-crate) feature as well.
2 changes: 1 addition & 1 deletion website/docs/guides/third-party/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ When multiple structs have the same fields, you can mirror them *once* using gra
like `#[frb(mirror(FirstStruct, SecondStruct, ThirdStruct))]`.

Remark: This mirroring boilerplate is only needed for translatable types.
For [arbitrary types](../../arbitrary), everything is automatic.
For [arbitrary types](../../types/arbitrary), everything is automatic.

Remark: When it comes to types in other crates,
[serde](https://crates.io/crates/serde) also has a similar developer-facing API,
Expand Down

0 comments on commit bf1bf0b

Please sign in to comment.