Skip to content

Commit

Permalink
Merge pull request #128 from erickguan/fix-md-125
Browse files Browse the repository at this point in the history
Fix markdown links
  • Loading branch information
matsadler authored Jan 20, 2025
2 parents 4f44655 + 2225e9f commit 6a0b737
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ Magnus allows you to wrap Rust structs and enums as Ruby objects, enabling seaml

Use one of the following approaches to expose a Rust type to Ruby:

* A convenience macro [`#[magnus::wrap]`].
* A convenience macro [`#[magnus::wrap]`][magnus-wrap].
* More customised approach by implementing the [`magnus::TypedData`] trait.

[`#[magnus::wrap]`]: https://docs.rs/magnus/latest/magnus/attr.wrap.html
[`magnus::TypedData`]: https://docs.rs/magnus/latest/magnus/derive.TypedData.html
[magnus-wrap]: https://docs.rs/magnus/latest/magnus/attr.wrap.html
[`magnus::TypedData`]: https://docs.rs/magnus/latest/magnus/derive.TypedData.html

Then this Rust type can be:

Expand Down Expand Up @@ -558,4 +558,6 @@ library turns out better for you.

## License

This project is licensed under the MIT license, see LICENSE.
This project is licensed under the MIT license, see [LICENSE].

[LICENSE]: https://github.com/matsadler/magnus/blob/main/LICENSE

0 comments on commit 6a0b737

Please sign in to comment.