Browse Source

fix typos in builtin.rs doc (#1739)

Signed-off-by: Kwame Bryan <kwame.bryan@gmail.com>

* fixed typo in builtin.rs
kwame.eth 6 months ago
parent
commit
389bd7ffa9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/sema/builtin.rs

+ 2 - 2
src/sema/builtin.rs

@@ -79,7 +79,7 @@ pub static BUILTIN_FUNCTIONS: Lazy<[Prototype; 29]> = Lazy::new(|| {
             params: vec![Type::Bool],
             ret: vec![Type::Void],
             target: vec![],
-            doc: "Abort execution if argument evaulates to false",
+            doc: "Abort execution if argument evaluates to false",
             constant: false,
         },
         Prototype {
@@ -90,7 +90,7 @@ pub static BUILTIN_FUNCTIONS: Lazy<[Prototype; 29]> = Lazy::new(|| {
             params: vec![Type::Bool, Type::String],
             ret: vec![Type::Void],
             target: vec![],
-            doc: "Abort execution if argument evaulates to false. Report string when aborting",
+            doc: "Abort execution if argument evaluates to false. Report string when aborting",
             constant: false,
         },
         Prototype {