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

Fix phf::Map::get call #1

Merged
merged 1 commit into from Nov 21, 2015

Conversation

Projects
None yet
2 participants
@bluss
Copy link
Contributor

bluss commented Nov 21, 2015

Fix phf::Map::get call

This fixes a regression that caused the crate to stop compiling on
current rust nightly and beta versions.

cap is already a &str, so passing just cap instead of &cap is
fine.

Fix phf::Map::get call
This fixes a regression that caused the crate to stop compiling on
current rust nightly and beta versions.

`cap` is already a `&str`, so passing just `cap` instead of `&cap` is
fine.
@bluss

This comment has been minimized.

Copy link
Contributor Author

bluss commented Nov 21, 2015

This regression was found in the regression report

It's also tracked in rust bug rust-lang/rust/issues/28853

This fix is a workaround that seems logical.

@mozillazg

This comment has been minimized.

Copy link
Owner

mozillazg commented Nov 21, 2015

@bluss Thanks!

mozillazg added a commit that referenced this pull request Nov 21, 2015

Merge pull request #1 from bluss/fix-captures
Fix phf::Map::get call

@mozillazg mozillazg merged commit 5ce8445 into mozillazg:master Nov 21, 2015

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
coverage/coveralls Coverage remained the same at 97.273%
Details

@bluss bluss deleted the bluss:fix-captures branch Nov 21, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.