Skip to content

Fixed range patterns #35

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

Closed
wants to merge 1 commit into from
Closed

Fixed range patterns #35

wants to merge 1 commit into from

Conversation

JanaVPetrova
Copy link

I tried to build a project where rust-url was one of the dependencies and got many errors like this:

Compiling url v0.1.0 (https://github.com/servo/rust-url#29f70a47)
/Users/janapetrova/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/host.rs:189:34: 189:36 error: expected `=>`, found `..`
/Users/janapetrova/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/host.rs:189                         c @ b'0' .. b'9' => c - b'0',

There was a PR is Rust not long ago, that breaks code: rust-lang/rust#17584
So I changed range syntax to fix this problem.

@SimonSapin
Copy link
Member

Duplicate of #34.

@SimonSapin SimonSapin closed this Oct 2, 2014
@SimonSapin
Copy link
Member

But thanks anyway for the patch!

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