Show More
@@ -2,7 +2,6 b' use crate::error::CommandError;' | |||
|
2 | 2 | use crate::ui::Ui; |
|
3 | 3 | use crate::utils::path_utils::RelativizePaths; |
|
4 | 4 | use clap::Arg; |
|
5 | use hg::errors::HgError; | |
|
6 | 5 | use hg::operations::list_rev_tracked_files; |
|
7 | 6 | use hg::repo::Repo; |
|
8 | 7 | use hg::utils::filter_map_results; |
@@ -85,11 +84,14 b' pub fn run(invocation: &crate::CliInvoca' | |||
|
85 | 84 | } |
|
86 | 85 | } |
|
87 | 86 | |
|
88 | fn display_files<'a>( | |
|
87 | fn display_files<'a, E>( | |
|
89 | 88 | ui: &Ui, |
|
90 | 89 | repo: &Repo, |
|
91 |
files: impl IntoIterator<Item = Result<&'a HgPath, |
|
|
92 |
) -> Result<(), CommandError> |
|
|
90 | files: impl IntoIterator<Item = Result<&'a HgPath, E>>, | |
|
91 | ) -> Result<(), CommandError> | |
|
92 | where | |
|
93 | CommandError: From<E>, | |
|
94 | { | |
|
93 | 95 | let mut stdout = ui.stdout_buffer(); |
|
94 | 96 | let mut any = false; |
|
95 | 97 |
General Comments 0
You need to be logged in to leave comments.
Login now