Skip to content

Commit

Permalink
Fix link to RFC 255 in Reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hamann committed May 14, 2015
1 parent 5a341ec commit 809be9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doc/reference.md
Expand Up @@ -3529,7 +3529,9 @@ The actual implementation for each vtable entry can vary on an object-by-object
basis.

Note that for a trait object to be instantiated, the trait must be
_object-safe_. Object safety rules are defined in [RFC 255][rfc255].
_object-safe_. Object safety rules are defined in [RFC 255].

[RFC 255]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md

Given a pointer-typed expression `E` of type `&T` or `Box<T>`, where `T`
implements trait `R`, casting `E` to the corresponding pointer type `&R` or
Expand Down

0 comments on commit 809be9b

Please sign in to comment.