Skip to content

Commit 219d754

Browse files
authored
minor typos in the repo (#60)
1 parent f39d1ba commit 219d754

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/processing_pyo3/examples/animated_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
geometry = None
55
grid_size = 20
66
spacing = 10.0
7-
offset = (grid_size * spacing) / 2.0;
7+
offset = (grid_size * spacing) / 2.0
88
time = 0.0
99

1010
def setup():

docs/principles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ user-facing API via an overload.
8383
We never return pointers to data that lives in libprocessing. Because we use the ECS to manage Rust data, where longer
8484
lifetimes are necessary we return an `Entity` id, which can be returned to the user as a `u64` containing both the index
8585
and generation of the ECS entity. Any data not representing an API-level object should be returned on the stack and
86-
where an allocation is necessary (e.g. buffers for pixel data), it's the responsibility of the consumer to allocate a
86+
where an allocation is necessary (e.g. buffers for pixel data), it's the responsibility of the consumer to allocate and
8787
provide the pointer to the requisite allocation.
8888

8989
API-level objects should wrap ids and they should never be exposed to the user as a first-class concept. All data which

0 commit comments

Comments
 (0)