Skip to content

Conversation

bartlomieju
Copy link
Member

No description provided.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

// The caller must validate these cases.
assert!(args.length > 0);
assert!(args.length % 8 == 0);
assert!(args.length.is_multiple_of(8));
Copy link
Member

Choose a reason for hiding this comment

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

Neat!

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

The zlib test is failing because this is UB:

unsafe { std::mem::transmute(i) }

It should be changed to a match instead.

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.

3 participants