Skip to content

Commit 0373155

Browse files
committed
fix a typo in doc comments
1 parent d65667a commit 0373155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compile/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,7 +2749,7 @@ impl Compiler {
27492749
/// Bind a function in the current scope
27502750
///
27512751
/// # Errors
2752-
/// Returns an error in the binding name is not valid
2752+
/// Returns an error if the binding name is not valid
27532753
pub fn bind_function(&mut self, name: impl Into<EcoString>, function: Function) -> UiuaResult {
27542754
self.bind_function_with_meta(name, function, BindingMeta::default())
27552755
}
@@ -2773,7 +2773,7 @@ impl Compiler {
27732773
/// This function is the only way to bind `# External!` functions.
27742774
///
27752775
/// # Errors
2776-
/// Returns an error in the binding name is not valid
2776+
/// Returns an error if the binding name is not valid
27772777
pub fn create_bind_function(
27782778
&mut self,
27792779
name: impl Into<EcoString>,

0 commit comments

Comments
 (0)