You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation and Context This PR cleans up doc tests by removing `#[test]` attributes from code snippets to prevent them from being executed. We've observed logs indicating that some doc snippets have been running for over 60 seconds, even though they are annotated with `no_run`. In addition, this PR also removes duplicated example snippets that previously took up a lot of space. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Co-authored-by: Landon James <lnj@amazon.com>
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/InterceptorConfigCustomization.kt
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/RetryClassifierConfigCustomization.kt
+12-91Lines changed: 12 additions & 91 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,6 @@ class RetryClassifierConfigCustomization(codegenContext: ClientCodegenContext) :
56
56
///
57
57
/// ## Examples
58
58
/// ```no_run
59
-
/// ## ##[cfg(test)]
60
-
/// ## mod tests {
61
-
/// ## ##[test]
62
59
/// ## fn example() {
63
60
/// use aws_smithy_runtime_api::client::interceptors::context::InterceptorContext;
64
61
/// use aws_smithy_runtime_api::client::orchestrator::OrchestratorError;
@@ -69,17 +66,26 @@ class RetryClassifierConfigCustomization(codegenContext: ClientCodegenContext) :
0 commit comments