From 85cb641af893e6aac4ddf7812c4d1733d5ff807e Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 15 Feb 2024 04:18:30 -0500 Subject: [PATCH] Write docs --- src/interpret.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interpret.rs b/src/interpret.rs index 9942c5a..1dd2acd 100644 --- a/src/interpret.rs +++ b/src/interpret.rs @@ -4,7 +4,7 @@ //! //! - [interpret] is the simplest way to run Dust code inside of an application or library //! - [interpret_with_context] allows you to set variables on the execution context -//! - [Interpreter] is an advanced tool that can parse, verify, run and format Dust code +//! - [Interpreter] is an advanced tool that can parse, validate, run and format Dust code //! //! # Examples //! @@ -175,7 +175,7 @@ impl Interpreter { /// Return formatted Dust code generated from the current abstract tree, or /// None if no source code has been run successfully. /// - /// You should call [verify][Interpreter::verify] before calling this + /// You should call [validate][Interpreter::validate] before calling this /// function. You can only create formatted source from a valid abstract /// tree. pub fn format(&mut self, source: &str) -> Result {