diff --git a/build.rs b/build.rs
index 8783e95a7911d9d85d9584f166224e9a8c300cae..32323375a38753546bba42376ca57c5343fdb559 100644
--- a/build.rs
+++ b/build.rs
@@ -52,7 +52,7 @@ fn main() {
         .open(dest_path)
         .unwrap_or_else(|_| panic!("Can't open '{}'", BUILD_OUT_FILE));
 
-    let module_doc_string = "//! Global constants, such as compiler version used, features, platform information and others\n";
+    let module_doc_string = "//! Global constants, such as compiler version used, features, platform information and others.\n";
     writeln!(file, "{}", module_doc_string).unwrap();
 
     let generated_annotation = "// @generated\n";
diff --git a/src/gen/mock.rs b/src/gen/mock.rs
index 40df49e7b0153976a58ab9787fcdad3c87124c42..5a9b8dde35c5166663a2c64ced1e6f73b6ac5f54 100644
--- a/src/gen/mock.rs
+++ b/src/gen/mock.rs
@@ -1,4 +1,4 @@
-//! Global constants, such as compiler version used, features, platform information and others
+//! Global constants, such as compiler version used, features, platform information and others.
 
 pub const COMPILATION_DATE: &str = "-";
 pub const COMPILATION_TIME: &str = "-";