depot/third_party/nixpkgs/pkgs/by-name/ne/neovim-gtk/collect-box.patch
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

12 lines
383 B
Diff

diff -ru a/src/ui.rs b/src/ui.rs
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -385,7 +386,7 @@
files_list
.iter()
.map(|f| misc::escape_filename(f))
- .collect::<Box<_>>()
+ .collect::<Box<[_]>>()
.join(" ")
));
} else {