Expand description
Utility methods for processing singleton references: #my_var, #mut my_var, #{N} my_var, #{N} mut my_var.
Functionsยง
- postprocess_
singletons - Replaces singleton references with the code needed to actually get the value inside.
- preprocess_
singletons - Finds all the singleton references and appends them to
found. Returns theTokenStreambut with the#,{N}, andmutremoved from the varnames.