Skip to content

Commit 8116f4f

Browse files
committed
Change TreeBuilder::tree to take ownership of the builder
1 parent 762651d commit 8116f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/vfs/src/tree/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl<T: BlitFile> TreeBuilder<T> {
7979
}
8080

8181
/// Generate the final tree by baking all inputs
82-
pub fn tree(&self) -> Result<Tree<T>, Error> {
82+
pub fn tree(self) -> Result<Tree<T>, Error> {
8383
// Chain all directories, replace implicits with explicit
8484
let all_dirs = self
8585
.explicit

0 commit comments

Comments
 (0)