That way additional information, like from configuration, can be passed as well.
Showing the changes to git-credentials/src/program.rs (1 of 5 files). Show all
Unified · Split
| @@ -12,7 +12,7 @@ impl Helper for Program { · 11 unmodified lines | ||
| 12 | 12 | type Send = std::process::ChildStdin; |
| 13 | 13 | type Receive = std::process::ChildStdout; |
| 14 | 14 | |
| 15 | − fn start(&mut self, action: &helper::Action<'_>) -> std::io::Result<(Self::Send, Option<Self::Receive>)> { | |
| 15 | + fn start(&mut self, action: &helper::Action) -> std::io::Result<(Self::Send, Option<Self::Receive>)> { | |
| 16 | 16 | match self { |
| 17 | 17 | Program::Ready(kind) => { |
| 18 | 18 | let (mut cmd, is_custom) = match kind { |