rust-js / rjs

Rust JavaScript interpreter
98 stars 6 forks source link

Reworking match on reference #7

Closed pvginkel closed 9 years ago

pvginkel commented 9 years ago

There are a lot of match constructs that match on reference and have the &... => construct in the arms. This can be rewritten to matching on the derefed value instead.