Closed Bug 1530087 Opened 5 years ago Closed 4 years ago

Update stylo crates to Rust 2018 edition

Categories

(Core :: CSS Parsing and Computation, enhancement, P5)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1646546
Tracking Status
firefox67 --- affected

People

(Reporter: xidorn, Unassigned)

References

Details

Since bug 1515512 we started requiring Rust 1.31, which means we should be able to start using Rust 2018 edition and its features.

We should update stylo crates to Rust 2018 edition.

I'm opposed to doing this until we find a better name for CSSparser's try method, fwiw :)

Another parser crate combine used attempt to replace try, we may as well use that? Also it also feels good to me just using r#try :)

No, please, r#try is awful IMO :)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.