From 4ebf7fe8796b20b43e2f541fd19dfe71c9492d9f Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 14 May 2019 11:15:12 -0700 Subject: [PATCH] Remove more unused variables --- schala-lang/language/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schala-lang/language/src/lib.rs b/schala-lang/language/src/lib.rs index e9001ca..badffef 100644 --- a/schala-lang/language/src/lib.rs +++ b/schala-lang/language/src/lib.rs @@ -57,7 +57,7 @@ pub struct Schala { impl Schala { fn handle_docs(&self, source: String) -> LangMetaResponse { LangMetaResponse::Docs { - doc_string: format!("<>") + doc_string: format!("Schala item `{}` : <>", source) } } } @@ -134,9 +134,9 @@ fn parsing(input: Vec, handle: &mut Schala, comp: Option<&mut }; let ast = parser.parse(); - let trace = parser.format_parse_trace(); + let _trace = parser.format_parse_trace(); - comp.map(|comp| { + comp.map(|_comp| { /* //TODO need to control which of these debug stages get added let opt = comp.cur_debug_options.get(0).map(|s| s.clone());