summaryrefslogtreecommitdiff
path: root/cli/lsp/documents.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/documents.rs')
-rw-r--r--cli/lsp/documents.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index cd2ea9295..43e192517 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -1808,7 +1808,7 @@ impl Iterator for PreloadDocumentFinder {
}
}
-/// Removes any directorys that are a descendant of another directory in the collection.
+/// Removes any directories that are a descendant of another directory in the collection.
fn sort_and_remove_non_leaf_dirs(mut dirs: Vec<PathBuf>) -> Vec<PathBuf> {
if dirs.is_empty() {
return dirs;