( lines: string[], experimental: boolean, indent = "", )
| 434 | } |
| 435 | |
| 436 | function pushRustExperimentalDocs( |
| 437 | lines: string[], |
| 438 | experimental: boolean, |
| 439 | indent = "", |
| 440 | ): void { |
| 441 | if (!experimental) return; |
| 442 | lines.push(`${indent}///`); |
| 443 | lines.push(`${indent}/// <div class="warning">`); |
| 444 | lines.push(`${indent}///`); |
| 445 | lines.push( |
| 446 | `${indent}/// **Experimental.** This type is part of an experimental wire-protocol surface`, |
| 447 | ); |
| 448 | lines.push( |
| 449 | `${indent}/// and may change or be removed in future SDK or CLI releases.`, |
| 450 | ); |
| 451 | lines.push(`${indent}///`); |
| 452 | lines.push(`${indent}/// </div>`); |
| 453 | } |
| 454 | |
| 455 | function pushRustDoc(lines: string[], text: string | undefined, indent = ""): void { |
| 456 | if (!text) return; |
no test coverage detected
searching dependent graphs…