mozilla-spidermonkey / jsparagus

Experimental JS parser-generator project.
Other
447 stars 20 forks source link

Remove extra braces produced by not having any escaped sequence anymore. #575

Closed nbp closed 4 years ago

nbp commented 4 years ago

This caused the test suite to fail because of rust complaining about it.

error: unnecessary braces around block return value
   --> crates/generated_parser/src/parser_tables_generated.rs:353:17
    |
353 |         unsafe {{ std::mem::transmute(self.0) }}
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
    |
    = note: `-D unused-braces` implied by `-D warnings`
nbp commented 4 years ago

This is a duplicate of #572.