- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 884
 
Closed
Labels
help wantedContributions encouragedContributions encouraged
Description
Currently the Document enum structure can only contain Strings, so any time we have a &str we need to allocate a String and copy the &str into it.
Add a new enum variant for Document which can hold a &str, allowing us to remove lots of cloning from the Erlang printer and Gleam formatter.
This will require adding an explicit lifetime to the Document enum.
Metadata
Metadata
Assignees
Labels
help wantedContributions encouragedContributions encouraged