Skip to content

Commit 5ffda0b

Browse files
Provide SigningService creation via owned String (smithy-lang#1114)
1 parent eb0581a commit 5ffda0b

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

CHANGELOG.next.toml

+3-22
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
# Example changelog entries
2-
# [[aws-sdk-rust]]
3-
# message = "Fix typos in module documentation for generated crates"
4-
# references = ["smithy-rs#920"]
5-
# meta = { "breaking" = false, "tada" = false, "bug" = false }
6-
# author = "rcoh"
7-
#
8-
# [[smithy-rs]]
9-
# message = "Fix typos in module documentation for generated crates"
10-
# references = ["smithy-rs#920"]
11-
# meta = { "breaking" = false, "tada" = false, "bug" = false }
12-
# author = "rcoh"
13-
14-
[[aws-sdk-rust]]
15-
message = "Convert several `info` spans to `debug` in aws-config"
16-
references = ["smithy-rs#1087"]
17-
meta = { "breaking" = false, "tada" = false, "bug" = false }
18-
author = "rcoh"
19-
201
[[smithy-rs]]
21-
message = "Improve docs on `Endpoint::{mutable, immutable}`"
22-
references = ["smithy-rs#1087"]
2+
message = "Provide SigningService creation via owned String"
3+
references = ["smithy-rs#1114"]
234
meta = { "breaking" = false, "tada" = false, "bug" = false }
24-
author = "rcoh"
5+
author = "mchoicpe-amazon"

aws/rust-runtime/aws-types/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ impl SigningService {
4242
SigningService(Cow::Borrowed(service))
4343
}
4444
}
45+
46+
impl From<String> for SigningService {
47+
fn from(service: String) -> Self {
48+
SigningService(Cow::Owned(service))
49+
}
50+
}

0 commit comments

Comments
 (0)