Skip to content

Commit 7295378

Browse files
authored
Fix several it's -> its in error messages and docs (#765)
1 parent 30424ab commit 7295378

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ You can find the release announcement [here](https://uiua.org/blog/uiua-0.10.0).
885885
- The behavior of [`content ◇`](https://uiua.org/docs/content) is less implicit and is not prone to some of the potential unexpected behavior of [`unpack ⊐`](https://uiua.org/docs/unpack)
886886
- Add the [`unique ◰`](https://uiua.org/docs/unique) function, which creates a mask of the first occurrence of each unique value in an array
887887
- Change [`deduplicate ◴`](https://uiua.org/docs/deduplicate)'s glyph to reflect its relationship with [`unique ◰`](https://uiua.org/docs/unique). Code using `` will continue to work and will be formatted as ``.
888-
- [`table ⊞`](https://uiua.org/docs/table) now works on rows of arrays but keeps it's optimizations for lists
888+
- [`table ⊞`](https://uiua.org/docs/table) now works on rows of arrays but keeps its optimizations for lists
889889
- You never wanted element-wise combinations of multi-dimensional arrays anyway
890890
- Deprecate [`cross ⊠`](https://uiua.org/docs/cross), as it is now redundant
891891
- This is technically a breaking change, but it is unlikely to break much code

src/algorithm/media.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ pub(crate) fn voxels(val: &Value, env: &mut Uiua) -> UiuaResult<Value> {
917917
[r, g, b] => fog = Some([r, g, b]),
918918
_ => {
919919
return Err(env.error(format!(
920-
"Fog must be a scalar or list of 3 numbers, but it's shape is {}",
920+
"Fog must be a scalar or list of 3 numbers, but its shape is {}",
921921
arg.shape
922922
)))
923923
}
@@ -930,7 +930,7 @@ pub(crate) fn voxels(val: &Value, env: &mut Uiua) -> UiuaResult<Value> {
930930
pos = Some([x, y, z]);
931931
} else {
932932
return Err(env.error(format!(
933-
"Camera position must be 3 numbers, but it's shape is {}",
933+
"Camera position must be 3 numbers, but its shape is {}",
934934
arg.shape
935935
)));
936936
}
@@ -1377,7 +1377,7 @@ fn layout_text_impl(size: Value, text: Value, env: &mut Uiua) -> UiuaResult<Valu
13771377
[h, w] => [h, w],
13781378
_ => {
13791379
return Err(env.error(format!(
1380-
"Size must be a scalar or list of 2 numbers, but it's shape is {}",
1380+
"Size must be a scalar or list of 2 numbers, but its shape is {}",
13811381
arg.shape
13821382
)))
13831383
}
@@ -1412,7 +1412,7 @@ fn layout_text_impl(size: Value, text: Value, env: &mut Uiua) -> UiuaResult<Valu
14121412
[r, g, b, a] => ([r, g, b], Some(a)),
14131413
_ => {
14141414
return Err(env.error(format!(
1415-
"Color must be a scalar or list of 3 or 4 numbers, but it's shape is {}",
1415+
"Color must be a scalar or list of 3 or 4 numbers, but its shape is {}",
14161416
arg.shape
14171417
)))
14181418
}

0 commit comments

Comments
 (0)