Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue 3161] Implement Debug on DateTime #3614

Closed
wants to merge 6 commits into from
Closed

[Issue 3161] Implement Debug on DateTime #3614

wants to merge 6 commits into from

Conversation

mjn298
Copy link
Contributor

@mjn298 mjn298 commented Apr 29, 2024

Motivation and Context

According to #3161 , the Debug output was in a marginally legible format.

#3161

Description

Since there's no expected difference between Debug and Display for date_time, the fmt::Debug for date_time calls the already implemented Display.

Testing

I added unit tests, and ran cargo test within the rust-runtime directory.

Aarch64 mac terminal - $ cd rust-runtime && cargo test

A single test failed: client::waiters::backoff::tests::backoff_with_seeded_jitter at first. After rebasing on upstream, the failure went away. Thanks for the fix.

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mjn298 mjn298 requested review from a team as code owners April 29, 2024 23:36
@mjn298 mjn298 closed this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants