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
Merged

Fix phf::Map::get call #1

merged 1 commit into from
Nov 21, 2015

Conversation

bluss
Copy link
Contributor

@bluss 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.

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
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
Copy link
Owner

@bluss Thanks!

mozillazg added a commit that referenced this pull request Nov 21, 2015
@mozillazg mozillazg merged commit 5ce8445 into mozillazg:master Nov 21, 2015
@bluss bluss deleted the fix-captures branch November 21, 2015 07:55
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