Skip to content

Commit 6a0b737

Browse files
authored
Merge pull request #128 from erickguan/fix-md-125
Fix markdown links
2 parents 4f44655 + 2225e9f commit 6a0b737

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ Magnus allows you to wrap Rust structs and enums as Ruby objects, enabling seaml
8686

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

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

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

9595
Then this Rust type can be:
9696

@@ -558,4 +558,6 @@ library turns out better for you.
558558

559559
## License
560560

561-
This project is licensed under the MIT license, see LICENSE.
561+
This project is licensed under the MIT license, see [LICENSE].
562+
563+
[LICENSE]: https://github.com/matsadler/magnus/blob/main/LICENSE

0 commit comments

Comments
 (0)