From 6fd9b34b92040357faaf328afa9e54c91482c86f Mon Sep 17 00:00:00 2001 From: microproofs Date: Thu, 8 Aug 2024 00:32:59 -0400 Subject: [PATCH] Running examples as doc tests is not gonna work --- crates/uplc/src/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uplc/src/builder.rs b/crates/uplc/src/builder.rs index 27dbea0e..a340e916 100644 --- a/crates/uplc/src/builder.rs +++ b/crates/uplc/src/builder.rs @@ -535,7 +535,7 @@ impl Term { /// /// ## Example /// - /// ``` + /// /// /// use uplc::ast::Term /// let value = Term::var("thing"); @@ -544,7 +544,7 @@ impl Term { /// val.do_something() /// .do_another_thing() /// }) - /// ``` + /// pub fn as_var(self, var_name: &str, callback: F) -> Term where F: FnOnce(Rc) -> Term,