]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_llvm/debuginfo/utils.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_codegen_llvm / debuginfo / utils.rs
index 19bc4ac39d308dcf76e3f00847e110d8f9a5ffe9..4b6ef30b1385c6261546d72ba117ccec77b7a9f4 100644 (file)
 use llvm;
 use llvm::debuginfo::{DIScope, DIBuilder, DIDescriptor, DIArray};
 use common::{CodegenCx};
+use rustc_codegen_ssa::traits::*;
 
 use syntax_pos::{self, Span};
 
 pub fn is_node_local_to_unit(cx: &CodegenCx, def_id: DefId) -> bool
 {
     // The is_local_to_unit flag indicates whether a function is local to the
-    // current compilation unit (i.e. if it is *static* in the C-sense). The
+    // current compilation unit (i.e., if it is *static* in the C-sense). The
     // *reachable* set should provide a good approximation of this, as it
     // contains everything that might leak out of the current crate (by being
     // externally visible or by being inlined into something externally