Skip to content

Commit 7ce7bf0

Browse files
committed
Rollup merge of rust-lang#52030 - bowbahdoe:patch-1, r=alexcrichton
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.
2 parents ffc453a + 6f223cf commit 7ce7bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/any.rs

Lines changed: 1 addition & 1 deletion
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)