Skip to content

Commit bd4c4b6

Browse files
authored
cleanup(rust): remove extra newlines (#2995)
1 parent bbb7133 commit bd4c4b6

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

internal/sidekick/rust/templates/common/README.md.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
# Google Cloud Client Libraries for Rust - {{{Title}}}
1717

1818
<!-- Code generated by sidekick. DO NOT EDIT. -->
19-
2019
{{^Codec.ReleaseLevelIsGA}}
20+
2121
**FEEDBACK WANTED:** We believe the APIs in this crate are stable, and
2222
do not anticipate any breaking changes are needed. We are looking for
2323
feedback before labeling the APIs "1.0". Changes (even breaking changes)
@@ -69,7 +69,9 @@ The main types to work with this crate are the clients:
6969
## More Information
7070

7171
- Read the [crate's documentation](https://docs.rs/{{Codec.PackageName}}/{{Codec.PackageVersion}})
72+
{{#Codec.HasServices}}
7273

74+
{{/Codec.HasServices}}
7375
{{#Codec.Services}}
7476
[{{Codec.Name}}]: https://docs.rs/{{Model.Codec.PackageName}}/{{Model.Codec.PackageVersion}}/{{Model.Codec.PackageNamespace}}/client/struct.{{Codec.Name}}.html
7577
{{/Codec.Services}}

internal/sidekick/rust/templates/crate/src/lib.rs.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ limitations under the License.
2727
//!
2828
//! This client library was generated from the "{{Revision}}" revision of the API.
2929
{{/Revision}}
30-
//! {{^Codec.ReleaseLevelIsGA}}
30+
{{^Codec.ReleaseLevelIsGA}}
3131
//!
3232
//! **FEEDBACK WANTED:** We believe the APIs in this crate are stable, and
3333
//! do not anticipate any breaking changes are needed. We are looking for
@@ -36,27 +36,27 @@ limitations under the License.
3636
//!
3737
//! We also believe the implementation is ready for production, bugs are
3838
//! still possible, but not expected.
39-
//! {{/Codec.ReleaseLevelIsGA}}
40-
//! {{#Codec.Incomplete}}
39+
{{/Codec.ReleaseLevelIsGA}}
40+
{{#Codec.Incomplete}}
4141
//!
4242
//! **WARNING:** some RPCs have no corresponding Rust function to call them.
4343
//! Typically these are streaming RPCs. We expect adding these RPCs in a
4444
//! way that does not break the existing APIs or changes their behavior in a
4545
//! significant way. We do anticipate a number of new crate dependencies
4646
//! will be required. If you need these RPCs please open an issue in our
4747
//! GitHub repository.
48-
//! {{/Codec.Incomplete}}
48+
{{/Codec.Incomplete}}
4949
//!
5050
//! This crate contains traits, types, and functions to interact with {{{Title}}}
5151
//! Most applications will use the structs defined in the [client] module.
52-
//! {{#Codec.ReleaseLevelIsGA}}
52+
{{#Codec.ReleaseLevelIsGA}}
5353
//!
5454
//! The client library types and functions are stable and not expected to change.
5555
//! Please note that Google Cloud services do change from time to time. The client
5656
//! libraries are designed to preserve backwards compatibility when the service
5757
//! changes in compatible ways. For example, adding RPCs, or fields to messages
5858
//! should not introduce breaking changes to the client libraries.
59-
//! {{/Codec.ReleaseLevelIsGA}}
59+
{{/Codec.ReleaseLevelIsGA}}
6060
//!
6161
//! # Available Clients
6262
//!

0 commit comments

Comments
 (0)