Skip to content

Commit

Permalink
Fix compilation error (#3357)
Browse files Browse the repository at this point in the history
Address #3356

## Motivation and Context
Solves compilation error mentioned in #3356 

## Description
Qualify access to `base64` module

## Testing
Trivial compilation changes has been done - `cargo build` succeeds with
this change, while it doesn't without it. Provided of course that
`aws_sdk_unstable` config is selected and `serde-serialize` feature is
enabled.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
  • Loading branch information
imp authored Jan 11, 2024
1 parent d0d75df commit 13c8cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-types/src/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod serde_serialize {
S: serde::Serializer,
{
if serializer.is_human_readable() {
serializer.serialize_str(&base64::encode(&self.inner))
serializer.serialize_str(&crate::base64::encode(&self.inner))
} else {
serializer.serialize_bytes(&self.inner)
}
Expand Down

0 comments on commit 13c8cb8

Please sign in to comment.