mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-03 22:11:12 +08:00

This is an alternative to the very common pattern of ```rust streams.err.append(output); streams.err.append1('\n'); ``` Which has negative performance implications, see https://github.com/fish-shell/fish-shell/pull/9229 It takes `Into<WString>` to hopefully avoid allocating anew when the argument is a WString with leftover capacity