Fix typos and markdown (#36)

This commit is contained in:
Kian-Meng Ang 2022-07-22 07:00:36 +08:00 committed by GitHub
parent 236a299ff0
commit 3c784d6e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 9 deletions

View file

@ -56,7 +56,7 @@ impl TextDiffConfig {
/// Sets a deadline for the diff operation.
///
/// By default a diff will take as long as it takes. For certain diff
/// algorthms like Myer's and Patience a maximum running time can be
/// algorithms like Myer's and Patience a maximum running time can be
/// defined after which the algorithm gives up and approximates.
pub fn deadline(&mut self, deadline: Instant) -> &mut Self {
self.deadline = Some(Deadline::Absolute(deadline));