diff options
Diffstat (limited to 'support/texlab/crates/base-db/src/deps/root.rs')
-rw-r--r-- | support/texlab/crates/base-db/src/deps/root.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/texlab/crates/base-db/src/deps/root.rs b/support/texlab/crates/base-db/src/deps/root.rs index a8cec6604a..03fd41a9a0 100644 --- a/support/texlab/crates/base-db/src/deps/root.rs +++ b/support/texlab/crates/base-db/src/deps/root.rs @@ -31,11 +31,11 @@ impl ProjectRoot { } let Ok(parent) = current.join("..") else { - break Self::from_config(workspace, &dir); + break Self::from_config(workspace, dir); }; if current == parent || Some(&parent) == home_dir.as_ref() { - break Self::from_config(workspace, &dir); + break Self::from_config(workspace, dir); } current = parent; |