Skip to content

Commit

Permalink
Fix compilation error on older rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Mar 28, 2024
1 parent 490868e commit 2ecbe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ impl<'old, 'new, 'bufs, T: DiffableStr + ?Sized + 'old + 'new> TextDiff<'old, 'n
where
'slf: 'old + 'new,
{
self.iter_inline_changes_deadline(op, Some(Instant::now() + Duration::from_millis(500)))
inline::iter_inline_changes(self, op, Some(Instant::now() + Duration::from_millis(500)))
}

/// Iterates over the changes the op expands to with inline emphasis with a deadline.
Expand Down

0 comments on commit 2ecbe90

Please sign in to comment.