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.
This commit is contained in:
parent
739320a601
commit
6f223cfc07
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue