From 6f223cfc07fbeef10b8a1c408a51daa0106bbaff Mon Sep 17 00:00:00 2001 From: Ethan McCue Date: Tue, 3 Jul 2018 13:13:49 -0700 Subject: [PATCH] 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. --- src/libcore/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/any.rs b/src/libcore/any.rs index 4437c36c15a5b..94f23db1ccc36 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 {