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

Sync changes from mozilla-central gfx/wr #3851

Merged
merged 3 commits into from Feb 5, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Bug 1612988 - Fix warning in a peek_poke test. r=jrmuizel

The test is meant to check that tupes work and a tuple of a single element needs a comma to differentiate it from just being the element.

Differential Revision: https://phabricator.services.mozilla.com/D61681

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/f020ddf9062127a044ea3c026717e33e346ca8bc
  • Loading branch information
nical authored and moz-gfx committed Feb 5, 2020
commit 8e903ab5012a055f8eaa9d3b8b1480f18f167abf
@@ -52,7 +52,7 @@ fn test_fixed_size_array() {

#[test]
fn test_tuple() {
assert_eq!(<(isize)>::max_size(), size_of::<isize>());
assert_eq!(<(isize,)>::max_size(), size_of::<isize>());
assert_eq!(<(isize, isize, isize)>::max_size(), 3 * size_of::<isize>());
assert_eq!(<(isize, ())>::max_size(), size_of::<isize>());
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.