]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lint/builtin.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc / lint / builtin.rs
index 22f2023eefbd874693121105c5deefbe6a9c39e8..a09d167f2173cfc739d705d3ca9a74332247538e 100644 (file)
 declare_lint! {
     pub LEGACY_DIRECTORY_OWNERSHIP,
     Deny,
-    "non-inline, non-`#[path]` modules (e.g. `mod foo;`) were erroneously allowed in some files \
+    "non-inline, non-`#[path]` modules (e.g., `mod foo;`) were erroneously allowed in some files \
      not named `mod.rs`"
 }
 
@@ -366,7 +366,7 @@ pub mod parser {
 }
 
 /// Does nothing as a lint pass, but registers some `Lint`s
-/// which are used by other parts of the compiler.
+/// that are used by other parts of the compiler.
 #[derive(Copy, Clone)]
 pub struct HardwiredLints;