mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 21:31:14 -03:00
Remove trivial splice() call
This commit is contained in:
@@ -313,7 +313,7 @@ fn test_history_races() {
|
||||
};
|
||||
|
||||
// Remove everything from this item on
|
||||
let removed = list.splice(position.., []);
|
||||
let removed = list.drain(position..);
|
||||
for line in removed.into_iter().rev() {
|
||||
println!("Item dropped from history: {line}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user