Fix example that was throwing an error

This commit is contained in:
microproofs 2024-08-08 00:25:26 -04:00 committed by Kasey
parent 31627897d7
commit 53c461294b
3 changed files with 4 additions and 2 deletions

View File

@ -536,6 +536,8 @@ impl Term<Name> {
/// ## Example /// ## Example
/// ///
/// ``` /// ```
///
/// use uplc::ast::Term
/// let value = Term::var("thing"); /// let value = Term::var("thing");
/// ///
/// value.as_var("__val", |val| { /// value.as_var("__val", |val| {

View File

@ -13,4 +13,4 @@ requirements = []
source = "github" source = "github"
[etags] [etags]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1723053744, nanos_since_epoch = 855248000 }, "5e58899446492a704d0927a43299139856bef746e697b55895ba34206fa28452"] "aiken-lang/stdlib@main" = [{ secs_since_epoch = 1723088177, nanos_since_epoch = 617705000 }, "5e58899446492a704d0927a43299139856bef746e697b55895ba34206fa28452"]

View File

@ -5,7 +5,7 @@
"plutusVersion": "v2", "plutusVersion": "v2",
"compiler": { "compiler": {
"name": "Aiken", "name": "Aiken",
"version": "v1.0.31-alpha+3aa9eb5" "version": "v1.0.31-alpha+650b853"
} }
}, },
"validators": [ "validators": [