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

Update expected size of select_on_non_unpin_size #2119

Merged
merged 2 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ matrix:
- name: cargo doc
rust: nightly
script:
- RUSTDOCFLAGS=-Dwarnings cargo doc --workspace --no-deps --all-features
# TODO: Remove -Aunused_braces once https://github.com/rust-lang/rust/issues/70814 is fixed
- RUSTDOCFLAGS="-Dwarnings -Aunused_braces" cargo doc --workspace --no-deps --all-features

script:
- cargo test --workspace --all-features
Expand Down
2 changes: 1 addition & 1 deletion futures/tests/async_await_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ fn select_on_non_unpin_size() {
select_res
};

assert_eq!(48, std::mem::size_of_val(&fut));
assert_eq!(32, std::mem::size_of_val(&fut));
}

#[cfg(all(feature = "async-await", feature = "std", feature = "executor"))]
Expand Down