Make the link to the reference relative

This commit is contained in:
Carol (Nichols || Goulding)
2021-07-05 13:31:04 -04:00
parent f710f8c7bc
commit abc2ff3258

View File

@@ -306,11 +306,11 @@ We would get this error:
This error means you cant use this trait as a trait object in this way. If
youre interested in more details on object safety, see [Rust RFC 255] or check the
object safety section in the [reference][object-safety-reference].
object safety section in the [Rust Reference][object-safety-reference].
[Rust RFC 255]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md
[performance-of-code-using-generics]:
ch10-01-syntax.html#performance-of-code-using-generics
[dynamically-sized]: ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait
[object-safety-reference]: https://doc.rust-lang.org/reference/items/traits.html#object-safety
[object-safety-reference]: ../reference/items/traits.html#object-safety