remove double negation in comment

This commit is contained in:
Oliver Schneider 2016-12-09 11:27:45 +01:00
parent 9e158c5c08
commit acfb06fd59
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46
1 changed files with 3 additions and 3 deletions

View File

@ -706,9 +706,9 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MirNeighborCollector<'a, 'tcx> {
fn can_have_local_instance<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
def_id: DefId)
-> bool {
// Take a look if we have the definition available. If not, we
// will not emit code for this item in the local crate, and thus
// don't create a translation item for it.
// Take a look if we have the definition available. If so, we
// will emit code for this item in the local crate, and thus
// create a translation item for it.
def_id.is_local() || tcx.sess.cstore.is_item_mir_available(def_id)
}