diff options
author | Blaž Hrastnik | 2021-03-18 04:45:57 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-18 05:17:32 +0000 |
commit | 59e60241864dcf711325109423d74cf6e8b6463d (patch) | |
tree | d89a4036a46d2533321c1dd62b1d3c3b60fda693 /helix-view/src | |
parent | dbcc099f484ad186782370ed0cf61b3e8d27282b (diff) |
Remove State from a few more signatures.
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index eba6478d..ffbe8930 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -346,7 +346,7 @@ mod test { // insert - let transaction = Transaction::insert(&doc.state, " world".into()); + let transaction = Transaction::insert(doc.text(), doc.selection(), " world".into()); let old_doc = doc.state.clone(); doc.apply(&transaction); let changes = Client::changeset_to_changes(&old_doc.doc, doc.text(), transaction.changes()); |