(mut self, path: P)
| 3 | |
| 4 | pub(crate) trait PathBufExt: BorrowMut<PathBuf> + Sized { |
| 5 | fn joined<P: AsRef<Path>>(mut self, path: P) -> Self { |
| 6 | self.borrow_mut().push(path); |
| 7 | self |
| 8 | } |
| 9 | fn with_exe_ext(mut self) -> Self { |
| 10 | self.borrow_mut().set_extension(std::env::consts::EXE_EXTENSION); |
| 11 | self |
no test coverage detected