(args: &'a [String], name: &str)
| 9769 | } |
| 9770 | |
| 9771 | fn value_after<'a>(args: &'a [String], name: &str) -> Option<&'a str> { |
| 9772 | args.windows(2) |
| 9773 | .find(|window| window[0] == name) |
| 9774 | .map(|window| window[1].as_str()) |
| 9775 | } |
| 9776 | |
| 9777 | fn run(command: &str, args: &[&str]) -> Result<()> { |
| 9778 | let mut command = command_for_host(command); |
no outgoing calls
no test coverage detected