(mut self, algorithm: Algorithm)
| 197 | /// Set the diff algorithm. |
| 198 | #[must_use] |
| 199 | pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self { |
| 200 | self.algorithm = algorithm; |
| 201 | self |
| 202 | } |
| 203 | |
| 204 | /// Set the default encoding for new files. |
| 205 | #[must_use] |
no outgoing calls