]> git.lizzy.rs Git - rust.git/commitdiff
remove double negation in comment
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Fri, 9 Dec 2016 10:27:45 +0000 (11:27 +0100)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Fri, 9 Dec 2016 10:27:45 +0000 (11:27 +0100)
src/librustc_trans/collector.rs

index 087fe4decbf1d768c2bb7edaf991575182c4435f..d64fb95cbb63141c8b952284314034da647ab23f 100644 (file)
@@ -706,9 +706,9 @@ fn is_drop_in_place_intrinsic<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, '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)
 }