File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,16 @@ class LibRsGenerator(
66
66
// Unstable Feature
67
67
docSection(ModuleDocSection .UnstableFeature ).also { docs ->
68
68
if (docs.isNotEmpty()) {
69
- containerDocs(" \n ## Unstable Features" )
70
69
val awsSdkUnstable = """
70
+ # Unstable Features
71
71
Some highly experimental features requires passing `aws_sdk_unstable` to RUSTFLAGS.
72
72
e.g.
73
73
```bash
74
74
export RUSTFLAGS="--cfg aws_sdk_unstable"
75
75
cargo build --features serde-serialize
76
76
```
77
77
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.
79
79
""" .trimIndent()
80
80
containerDocs(awsSdkUnstable)
81
81
docs.forEach { writeTo ->
You can’t perform that action at this time.
0 commit comments