Fix wording in mir doc

This commit is contained in:
Ivan Tham 2020-09-17 09:07:19 +08:00 committed by GitHub
parent 285fc7d704
commit b7c8bea6cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2285,7 +2285,7 @@ fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
/// Constants
///
/// Two constants are equal if they are the same constant. Note that
/// this does not necessarily mean that they are `==` in Rust -- in
/// this does not necessarily mean that they are `==` in Rust. In
/// particular, one must be wary of `NaN`!
#[derive(Clone, Copy, PartialEq, TyEncodable, TyDecodable, HashStable)]