Rollup merge of #59601 - kenta7777:typo-fix, r=Centril
Fix small typo This PR fixes a small typo in `eq()` comments.
This commit is contained in:
commit
c5045e24d4
@ -431,7 +431,7 @@ impl<'a, 'mir, 'tcx> Eq for EvalSnapshot<'a, 'mir, 'tcx>
|
|||||||
impl<'a, 'mir, 'tcx> PartialEq for EvalSnapshot<'a, 'mir, 'tcx>
|
impl<'a, 'mir, 'tcx> PartialEq for EvalSnapshot<'a, 'mir, 'tcx>
|
||||||
{
|
{
|
||||||
fn eq(&self, other: &Self) -> bool {
|
fn eq(&self, other: &Self) -> bool {
|
||||||
// FIXME: This looks to be a *ridicolously expensive* comparison operation.
|
// FIXME: This looks to be a *ridiculously expensive* comparison operation.
|
||||||
// Doesn't this make tons of copies? Either `snapshot` is very badly named,
|
// Doesn't this make tons of copies? Either `snapshot` is very badly named,
|
||||||
// or it does!
|
// or it does!
|
||||||
self.snapshot() == other.snapshot()
|
self.snapshot() == other.snapshot()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user