diff options
Diffstat (limited to 'cli/lsp/completions.rs')
-rw-r--r-- | cli/lsp/completions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs index 07857fb48..b23145989 100644 --- a/cli/lsp/completions.rs +++ b/cli/lsp/completions.rs @@ -436,7 +436,7 @@ mod tests { source_fixtures: &[(&str, &str)], location: &Path, ) -> language_server::StateSnapshot { - let documents = Documents::new(location); + let mut documents = Documents::new(location); for (specifier, source, version, language_id) in fixtures { let specifier = resolve_url(specifier).expect("failed to create specifier"); |