diff options
author | chunghha | 2022-04-27 19:21:20 +0000 |
---|---|---|
committer | GitHub | 2022-04-27 19:21:20 +0000 |
commit | 3a398eec56c907f9d0f166e77242eb13ded229bc (patch) | |
tree | 4411668f181c0a1ae31b6599a50c196bccd709e6 /helix-view/src/document.rs | |
parent | 2e46961886cb40b45a03a91c59823b0e437a9867 (diff) |
fix typos (#2304)
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r-- | helix-view/src/document.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index f4b4dc35..9c3853c8 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -648,7 +648,7 @@ impl Document { .clone() // Map through changes .map(transaction.changes()) - // Ensure all selections accross all views still adhere to invariants. + // Ensure all selections across all views still adhere to invariants. .ensure_invariants(self.text.slice(..)); } @@ -752,7 +752,7 @@ impl Document { self.undo_redo_impl(view_id, true) } - /// Redo the last modification to the [`Document`]. Returns whether the redo was sucessful. + /// Redo the last modification to the [`Document`]. Returns whether the redo was successful. pub fn redo(&mut self, view_id: ViewId) -> bool { self.undo_redo_impl(view_id, false) } |