Skip to content

Commit

Permalink
fix a typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Sep 14, 2024
1 parent 17b50d6 commit ada82fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/algorithm/pervade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,9 @@ pub mod complex {
b + a.into() * Complex::I
}
pub fn error<T: Display>(a: T, b: T, env: &Uiua) -> UiuaError {
env.error(format!("Cannot get the form a complex number with {b} as the real part and {a} as the imaginary part"))
env.error(format!(
"Cannot make a complex number with {b} as the real part and {a} as the imaginary part"
))
}
}

Expand Down
1 change: 1 addition & 0 deletions todo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Uiua Todo

- 0.13
- `inventory` inverses
- Recursive stack macros
- Label and format string glyphs?
- `setinv/setund` unification
Expand Down

0 comments on commit ada82fb

Please sign in to comment.