Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrGlad committed Aug 17, 2024
1 parent 93cf7e5 commit 4e5be17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/track_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ impl TrackHistory {
let initial_version_id = 0;
{
self.id_seq = Arc::new(IdSeq::new(meta.next_id));
let mut track = self
.track
self.track
.edit(|track| track.reset(util::load(&self.snapshot_path(initial_version_id))));
}
self.set_version(initial_version_id);
Expand Down
2 changes: 1 addition & 1 deletion src/track_source.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::fmt::{Debug, Formatter, Write};
use std::fmt::{Debug, Formatter};
use std::sync::Arc;

use sync_cow::SyncCow;
Expand Down

0 comments on commit 4e5be17

Please sign in to comment.