about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEthan McCue <emccue@live.com>2018-07-03 13:13:49 -0700
committerGitHub <noreply@github.com>2018-07-03 13:13:49 -0700
commit6f223cfc07fbeef10b8a1c408a51daa0106bbaff (patch)
treee81beeb161e2fcd0b8c295b3f2df43de182deb8a
parent739320a6011fd78b15328416d3c488d025974039 (diff)
downloadrust-6f223cfc07fbeef10b8a1c408a51daa0106bbaff.tar.gz
rust-6f223cfc07fbeef10b8a1c408a51daa0106bbaff.zip
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.
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 4437c36c15a..94f23db1ccc 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -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 {