mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-29 21:21:15 +00:00
Use `Cow` to avoid cloning `ret.attrs()` unless necessary. This requires moving some things around to satisfy the borrow checker.
Use `Cow` to avoid cloning `ret.attrs()` unless necessary. This requires moving some things around to satisfy the borrow checker.