Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
boytacean
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
João Magalhães
boytacean
Commits
35d7e0d8
Verified
Commit
35d7e0d8
authored
2 years ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
feat: improved generated comment
parent
ebc253b5
No related branches found
No related tags found
No related merge requests found
Pipeline
#2203
failed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.rs
+1
-1
1 addition, 1 deletion
build.rs
src/gen/mock.rs
+1
-1
1 addition, 1 deletion
src/gen/mock.rs
with
2 additions
and
2 deletions
build.rs
+
1
−
1
View file @
35d7e0d8
...
...
@@ -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
"
;
...
...
This diff is collapsed.
Click to expand it.
src/gen/mock.rs
+
1
−
1
View file @
35d7e0d8
//! 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
=
"-"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment