mirror of
https://github.com/roc-lang/roc.git
synced 2024-10-05 06:37:26 +03:00
remove un-used?
This commit is contained in:
parent
c7e60e69a0
commit
02f0aca18c
@ -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,
|
||||
|
@ -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>>,
|
||||
|
@ -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```",
|
||||
|
Loading…
Reference in New Issue
Block a user