Remove outdated TODO comment

This commit is contained in:
David Peter 2022-11-01 20:34:42 +01:00
parent 13a47c3a2c
commit 831fe666fa

View file

@ -96,7 +96,6 @@ fn print_completions(shell: clap_complete::Shell) -> Result<ExitCode> {
let program_name = env::args().next().unwrap_or_else(|| "fd".to_string());
let mut cmd = Opts::command();
cmd.build();
// TODO: fix panic
clap_complete::generate(shell, &mut cmd, &program_name, &mut std::io::stdout());
Ok(ExitCode::Success)
}