Patrick Lühne
2fa592576b
These reference-counted arguments were taken by reference, which made it necessary to clone them. If a reference-counted object is created for the sole purpose of being passed to one of these methods, it would be cloned unnecessarily. This changes the signatures to take these arguments by value, shifting the responsibility of cloning the reference-counted objects to the users of these methods. |
||
---|---|---|
.. | ||
format | ||
ast.rs | ||
format.rs | ||
lib.rs |