diff options
Diffstat (limited to 'helix-core/src/comment.rs')
-rw-r--r-- | helix-core/src/comment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/comment.rs b/helix-core/src/comment.rs index 9109e2d6..969d4d92 100644 --- a/helix-core/src/comment.rs +++ b/helix-core/src/comment.rs @@ -67,7 +67,7 @@ pub fn toggle_line_comments(state: &State) -> Transaction { } } } - Transaction::change(state, changes.into_iter()) + Transaction::change(&state.doc, changes.into_iter()) } #[cfg(test)] |