Skip to content

Commit c12e9af

Browse files
pre-commit
1 parent 924cec2 commit c12e9af

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

CHANGELOG.next.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ List of changes:
158158
159159
- Core codegen code
160160
- Add sensitive warning
161-
- Add `serde` attributes
161+
- Add `serde` attributes
162162
- Import `serde` crate to enable `serde(skip)` on some namespaces
163163
- Add `serde` crate behind unstable feature gate on `Cargo.toml`
164164
@@ -173,7 +173,7 @@ meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client"
173173
message = """
174174
- SDK
175175
- Implements `serde` support as described in RFC 30
176-
176+
177177
- rust runtime
178178
- Implements serde support to `number`, `blob`, `document`, `date time` and `error type`.
179179
- `&'static str` on Error type is replaced with `Cow` to allow `serde` support. No breaking changes are introduced.

rust-runtime/aws-smithy-types/src/document.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44
*/
55

66
use crate::Number;
7-
use std::collections::HashMap;
8-
#[cfg(
9-
any(
10-
all(aws_sdk_unstable, feature = "serde-deserialize"),
11-
all(aws_sdk_unstable, feature = "serde-serialize")
12-
)
13-
)]
7+
#[cfg(any(
8+
all(aws_sdk_unstable, feature = "serde-deserialize"),
9+
all(aws_sdk_unstable, feature = "serde-serialize")
10+
))]
1411
use serde;
12+
use std::collections::HashMap;
1513
/* ANCHOR: document */
1614

1715
/// Document Type

rust-runtime/aws-smithy-types/test_data/serialize_document.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
true,
4141
false
4242
]
43-
}
43+
}

0 commit comments

Comments
 (0)