Apply patch sets by value in preparation for AppliedPatchSet

This commit is contained in:
Lucien Greathouse
2019-09-19 11:10:25 -07:00
parent 9b601eb9fe
commit ec8861e983
4 changed files with 27 additions and 23 deletions

View File

@@ -68,7 +68,7 @@ pub fn serve(options: &ServeOptions) -> Result<(), ServeError> {
.expect("snapshot did not return an instance");
let patch_set = compute_patch_set(&snapshot, &tree, root_id);
apply_patch_set(&mut tree, &patch_set);
apply_patch_set(&mut tree, patch_set);
let session = Arc::new(ServeSession::new(imfs, tree, maybe_project));
let server = LiveServer::new(session);