diff --git a/crates/weaver_codegen_test/build.rs b/crates/weaver_codegen_test/build.rs index ae45a375..9f9dbf11 100644 --- a/crates/weaver_codegen_test/build.rs +++ b/crates/weaver_codegen_test/build.rs @@ -51,8 +51,8 @@ fn main() { let loader = FileSystemFileLoader::try_new(TEMPLATES_PATH.into(), TARGET) .unwrap_or_else(|e| process_error(&logger, e)); - let engine = - TemplateEngine::try_new(loader, Params::default()).unwrap_or_else(|e| process_error(&logger, e)); + let engine = TemplateEngine::try_new(loader, Params::default()) + .unwrap_or_else(|e| process_error(&logger, e)); let template_registry = ResolvedRegistry::try_from_resolved_registry( schema .registry(REGISTRY_ID) diff --git a/crates/weaver_forge/src/lib.rs b/crates/weaver_forge/src/lib.rs index 8cfde6a1..2970dfa3 100644 --- a/crates/weaver_forge/src/lib.rs +++ b/crates/weaver_forge/src/lib.rs @@ -69,14 +69,14 @@ impl TemplateObject { } } -impl Display for TemplateObject { - fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { - f.write_str(&format!( - "template file name: {}", - self.file_name.lock().expect("Lock poisoned") - )) - } -} +// impl Display for TemplateObject { +// fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { +// f.write_str(&format!( +// "template file name: {}", +// self.file_name.lock().expect("Lock poisoned") +// )) +// } +// } impl Object for TemplateObject { fn call_method(