Rollup merge of #76815 - pickfire:patch-6, r=jonas-schievink

Fix wording in mir doc
This commit is contained in:
Ralf Jung 2020-09-20 12:08:19 +02:00 committed by GitHub
commit c12feb35db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2286,7 +2286,7 @@ impl<'tcx> Debug for Rvalue<'tcx> {
/// 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)]