Skip to content

Commit 15349ef

Browse files
authored
Minor improvements to mir::Constant docs
1 parent 1f26a18 commit 15349ef

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/mir/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2285,8 +2285,8 @@ impl<'tcx> Debug for Rvalue<'tcx> {
22852285
/// Constants
22862286
///
22872287
/// Two constants are equal if they are the same constant. Note that
2288-
/// this does not necessarily mean that they are "==" in Rust -- in
2289-
/// particular one must be wary of `NaN`!
2288+
/// this does not necessarily mean that they are `==` in Rust -- in
2289+
/// particular, one must be wary of `NaN`!
22902290
22912291
#[derive(Clone, Copy, PartialEq, TyEncodable, TyDecodable, HashStable)]
22922292
pub struct Constant<'tcx> {

0 commit comments

Comments
 (0)