Skip to content

Fixed generic comparison where the destination integer is larger#122

Merged
PTaylor-us merged 1 commit into
FluenTech:release/v0.13.0from
korken89:fix-generic-extending-comparison
Oct 16, 2021
Merged

Fixed generic comparison where the destination integer is larger#122
PTaylor-us merged 1 commit into
FluenTech:release/v0.13.0from
korken89:fix-generic-extending-comparison

Conversation

@korken89

@korken89 korken89 commented Oct 8, 2021

Copy link
Copy Markdown
Collaborator

I found an issue in when comparing durations where the Generic is of u64 and eg Milliseconds is u32 would fail.

This fixes that. Could we include this in the 0.13 release @PTaylor-us ?
We found that users hit this easily in RTIC.

@korken89 korken89 force-pushed the fix-generic-extending-comparison branch from 5f2ad37 to 2ab2ec6 Compare October 8, 2021 12:04
@korken89

korken89 commented Oct 8, 2021

Copy link
Copy Markdown
Collaborator Author

I now also fixed so the .into() that was required before is no longer needed 🎉

@korken89 korken89 requested a review from PTaylor-us October 8, 2021 12:11
@PTaylor-us PTaylor-us changed the base branch from master to release/v0.13.0 October 16, 2021 20:42
@PTaylor-us PTaylor-us merged commit e313ce9 into FluenTech:release/v0.13.0 Oct 16, 2021
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