remove un-used?

This commit is contained in:
Eli Dowling 2024-02-11 16:02:18 +10:00 committed by faldor20
parent c7e60e69a0
commit 02f0aca18c
No known key found for this signature in database
GPG Key ID: F2216079B890CD57
3 changed files with 1 additions and 4 deletions

View File

@ -247,7 +247,6 @@ impl AnalyzedDocument {
//TODO: this doesn't work with builtins for some reason
Some(get_upper_case_completion_items(
symbol_prefix,
module_id,
interns,
imports,
other_modules_subs,
@ -274,7 +273,6 @@ impl AnalyzedDocument {
info!("Getting module completion");
let completions = get_upper_case_completion_items(
symbol_prefix,
module_id,
interns,
imports,
other_modules_subs,

View File

@ -326,7 +326,6 @@ pub fn get_completion_items(
}
pub fn get_upper_case_completion_items(
prefix: String,
module_id: &ModuleId,
interns: &Interns,
imported_modules: &HashMap<ModuleId, Arc<Vec<(Symbol, Variable)>>>,
all_subs: &Mutex<HashMap<ModuleId, Subs>>,

View File

@ -61,7 +61,7 @@ pub fn module_documentation(
};
match description_type {
DescripitonType::Name => md_doc(format!("{0} module", mod_name)),
DescripitonType::Name => md_doc(format!("`{0}` module", mod_name)),
DescripitonType::Exposes => md_doc(format!("```roc\n{0}\n```", exposed())),
DescripitonType::NameAndExposes => md_doc(format!(
"`{0}` module\n```roc\n{1}\n```",