From 31627897d7a9fe6215f1b1452dd764bde1295bd5 Mon Sep 17 00:00:00 2001 From: microproofs Date: Wed, 7 Aug 2024 16:01:38 -0400 Subject: [PATCH] Fix example that was throwing an error --- crates/uplc/src/builder.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uplc/src/builder.rs b/crates/uplc/src/builder.rs index 0791af06..47dbc8e0 100644 --- a/crates/uplc/src/builder.rs +++ b/crates/uplc/src/builder.rs @@ -536,6 +536,8 @@ impl Term { /// ## Example /// /// ``` + /// let value = Term::var("thing"); + /// /// value.as_var("__val", |val| { /// val.do_something() /// .do_another_thing()