-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from
&mut self
to &self
for the Backend
trait.
This was to enable me to have the backend own the grammar, which was the easiest option for me to force the grammar of the backend to match the grammar we use during codegen. I would like to exploe alternative options here; perhaps this RFC issue would be an avenue to explore: rust-lang/rfcs#1215
- Loading branch information
Showing
2 changed files
with
50 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters