From 35d7e0d8615786a8ae8944e06add40cea66f3a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Tue, 21 Feb 2023 11:48:04 +0000 Subject: [PATCH] feat: improved generated comment --- build.rs | 2 +- src/gen/mock.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 9143d532..473cafa7 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, algorithms, compression and filters supported 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 c1704a6c..c1a1c98c 100644 --- a/src/gen/mock.rs +++ b/src/gen/mock.rs @@ -1,4 +1,4 @@ -//! Global constants, such as compiler version used, algorithms, compression and filters supported and others +//! Global constants, such as compiler version used, features, platform information and others pub const COMPILATION_DATE: &str = "-"; pub const COMPILATION_TIME: &str = "-"; -- GitLab