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

feat: refactor sync timestamp #82

Merged
merged 1 commit into from
Nov 7, 2018
Merged

Conversation

bbangert
Copy link
Member

@bbangert bbangert commented Nov 6, 2018

Co-authored by: Phil Jenvey [email protected]

Issue #74

Co-authored by: Phil Jenvey <[email protected]>

Issue #74
Copy link
Contributor

@philbooth philbooth left a comment

Choose a reason for hiding this comment

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

Looks good!

/// Create a `SyncTimestamp` from an i64
///
/// Only called from the db module
pub(super) fn from_i64(val: i64) -> Result<Self, DbError> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, it's a shame the TryFrom trait is nightly-only, it would have been perfect for this right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, I was wishing that as we added it.

Copy link
Contributor

@rfk rfk left a comment

Choose a reason for hiding this comment

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

Looks 👍 to me!

@bbangert bbangert merged commit e96608b into master Nov 7, 2018
@bbangert bbangert deleted the refactor/sync-timestamp branch November 7, 2018 15:34
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.

4 participants