Skip to content

Commit acfb06f

Browse files
committed
remove double negation in comment
1 parent 9e158c5 commit acfb06f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_trans/collector.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,9 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MirNeighborCollector<'a, 'tcx> {
706706
fn can_have_local_instance<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
707707
def_id: DefId)
708708
-> bool {
709-
// Take a look if we have the definition available. If not, we
710-
// will not emit code for this item in the local crate, and thus
711-
// don't create a translation item for it.
709+
// Take a look if we have the definition available. If so, we
710+
// will emit code for this item in the local crate, and thus
711+
// create a translation item for it.
712712
def_id.is_local() || tcx.sess.cstore.is_item_mir_available(def_id)
713713
}
714714

0 commit comments

Comments
 (0)