aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/history.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/history.rs')
-rw-r--r--helix-core/src/history.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-core/src/history.rs b/helix-core/src/history.rs
index 1aac38d9..28d6dd6e 100644
--- a/helix-core/src/history.rs
+++ b/helix-core/src/history.rs
@@ -72,8 +72,8 @@ impl Default for History {
revisions: vec![Revision {
parent: 0,
last_child: None,
- transaction: Transaction::from(ChangeSet::new(&Rope::new())),
- inversion: Transaction::from(ChangeSet::new(&Rope::new())),
+ transaction: Transaction::from(ChangeSet::new("".into())),
+ inversion: Transaction::from(ChangeSet::new("".into())),
timestamp: Instant::now(),
}],
current: 0,