Returns the default algorithm (Myers). Myers is the default because: - It's well-studied and widely used (git default) - It guarantees optimal (minimum) edit distance - It performs well on typical source code changes
()
| 101 | /// - It guarantees optimal (minimum) edit distance |
| 102 | /// - It performs well on typical source code changes |
| 103 | fn default() -> Self { |
| 104 | Algorithm::Myers |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | impl fmt::Display for Algorithm { |
nothing calls this directly
no outgoing calls
no test coverage detected