Skip to content

Derive PartialEq, Eq on SyncTime#837

Merged
notmandatory merged 1 commit intobitcoindevkit:masterfrom
lexe-app:synctime-derive
Jan 30, 2023
Merged

Derive PartialEq, Eq on SyncTime#837
notmandatory merged 1 commit intobitcoindevkit:masterfrom
lexe-app:synctime-derive

Conversation

@MaxFangX
Copy link
Copy Markdown
Contributor

@MaxFangX MaxFangX commented Jan 19, 2023

Description

This enables e.g. assert_eq! comparisons of SyncTime in tests (we use this)

Changelog notice

Derived PartialEq, Eq on SyncTime

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@notmandatory
Copy link
Copy Markdown
Member

Looks good, we just changed our CI MSRV so you'll need to do a rebase to pick that up.

This enables e.g. `assert_eq!` comparisons of `SyncTime` in tests.
@MaxFangX
Copy link
Copy Markdown
Contributor Author

@notmandatory rebased, awaiting approval again for running CI

Copy link
Copy Markdown
Contributor

@rajarshimaitra rajarshimaitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 45d4141

Copy link
Copy Markdown
Member

@evanlinjin evanlinjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 45d4141

No-brainer.

@notmandatory notmandatory merged commit e678aad into bitcoindevkit:master Jan 30, 2023
@MaxFangX MaxFangX deleted the synctime-derive branch January 31, 2023 01:44
@notmandatory notmandatory mentioned this pull request Feb 2, 2023
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants