Skip to content

Commit

Permalink
Any docs preposition change
Browse files Browse the repository at this point in the history
This changes the docs referring to where a user should be wary of depending on "Any" trait impls from warning about relying on them "outside" of their code to warning about relying on them "inside" of their code.
  • Loading branch information
bowbahdoe authored Jul 3, 2018
1 parent 739320a commit 6f223cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ impl Any+Send+Sync {
///
/// While `TypeId` implements `Hash`, `PartialOrd`, and `Ord`, it is worth
/// noting that the hashes and ordering will vary between Rust releases. Beware
/// of relying on them outside of your code!
/// of relying on them inside of your code!
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct TypeId {
Expand Down

0 comments on commit 6f223cf

Please sign in to comment.