aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index baaa846..bdafa03 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -19,7 +19,7 @@ mod compiler;
mod tokenizer;
/// Compiles a file and links the supplied functions as callable external
-/// functions. Use this is you want your programs to be able to yield.
+/// functions. Use this if you want your programs to be able to yield.
pub fn compile_file(path: &Path,
print: bool,
functions: Vec<(String, RustFunction)>
@@ -38,7 +38,7 @@ pub fn compile_file(path: &Path,
}
}
-/// Compiles and runs a file and links the supplied functions as callable
+/// Compiles, links and runs the given file. Supplied functions are callable
/// external functions. If you want your program to be able to yield, use
/// [compile_file].
pub fn run_file(path: &Path, print: bool, functions: Vec<(String, RustFunction)>) -> Result<(), Vec<Error>> {