Skip to content

Commit e6dbd97

Browse files
update
1 parent 81f7efd commit e6dbd97

File tree

1 file changed

+2
-2
lines changed
  • codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators

1 file changed

+2
-2
lines changed

codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/LibRsGenerator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ class LibRsGenerator(
6666
// Unstable Feature
6767
docSection(ModuleDocSection.UnstableFeature).also { docs ->
6868
if (docs.isNotEmpty()) {
69-
containerDocs("\n## Unstable Features")
7069
val awsSdkUnstable = """
70+
# Unstable Features
7171
Some highly experimental features requires passing `aws_sdk_unstable` to RUSTFLAGS.
7272
e.g.
7373
```bash
7474
export RUSTFLAGS="--cfg aws_sdk_unstable"
7575
cargo build --features serde-serialize
7676
```
7777
78-
If you enable unstable features without enabling `RUSTFLAGS="--cfg aws_sdk_unstable"`, compilation will fail with a message detailing the reason.
78+
If you enable unstable features without enabling `RUSTFLAGS="--cfg aws_sdk_unstable"`, compilation will fail with a message describing the reason.
7979
""".trimIndent()
8080
containerDocs(awsSdkUnstable)
8181
docs.forEach { writeTo ->

0 commit comments

Comments
 (0)