Skip to content

Commit

Permalink
Rollup merge of rust-lang#52030 - bowbahdoe:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Any docs preposition change

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
kennytm committed Jul 6, 2018
2 parents ffc453a + 6f223cf commit 7ce7bf0
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 7ce7bf0

Please sign in to comment.