Fix example that was throwing an error
This commit is contained in:
@@ -536,6 +536,8 @@ impl Term<Name> {
|
|||||||
/// ## Example
|
/// ## Example
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
/// let value = Term::var("thing");
|
||||||
|
///
|
||||||
/// value.as_var("__val", |val| {
|
/// value.as_var("__val", |val| {
|
||||||
/// val.do_something()
|
/// val.do_something()
|
||||||
/// .do_another_thing()
|
/// .do_another_thing()
|
||||||
|
|||||||
Reference in New Issue
Block a user