Skip to content

Commit 6f223cf

Browse files
authored
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.
1 parent 739320a commit 6f223cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ impl Any+Send+Sync {
431431
///
432432
/// While `TypeId` implements `Hash`, `PartialOrd`, and `Ord`, it is worth
433433
/// noting that the hashes and ordering will vary between Rust releases. Beware
434-
/// of relying on them outside of your code!
434+
/// of relying on them inside of your code!
435435
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)]
436436
#[stable(feature = "rust1", since = "1.0.0")]
437437
pub struct TypeId {

0 commit comments

Comments
 (0)