diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-12-09 11:27:45 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-12-09 11:27:45 +0100 |
| commit | acfb06fd593ed803a3da056c9d5acb399697d0e8 (patch) | |
| tree | e703ba10a4ef3594f097240ace5b57e78bd71654 /src | |
| parent | 9e158c5c087bab515e428916dbde1b5d3908c624 (diff) | |
| download | rust-acfb06fd593ed803a3da056c9d5acb399697d0e8.tar.gz rust-acfb06fd593ed803a3da056c9d5acb399697d0e8.zip | |
remove double negation in comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_trans/collector.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_trans/collector.rs b/src/librustc_trans/collector.rs index 087fe4decbf..d64fb95cbb6 100644 --- a/src/librustc_trans/collector.rs +++ b/src/librustc_trans/collector.rs @@ -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) } |
