From 3f237d26125e91f60ce2cda0637304a4b695d9c9 Mon Sep 17 00:00:00 2001 From: Taylor Date: Mon, 8 Jul 2024 15:46:30 -0500 Subject: [PATCH] [External] [Documentation] Fix typo in arc.mojo (#43054) [External] [Documentation] Fix typo in arc.mojo trough -> through Co-authored-by: Taylor Closes modularml/mojo#3192 MODULAR_ORIG_COMMIT_REV_ID: 0d8654dadd68b8b802aceab4f9abf522617230ec --- stdlib/src/memory/arc.mojo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/src/memory/arc.mojo b/stdlib/src/memory/arc.mojo index 0aefb67801..6e2c2a64a3 100644 --- a/stdlib/src/memory/arc.mojo +++ b/stdlib/src/memory/arc.mojo @@ -25,7 +25,7 @@ print(3 == p[]) Subscripting(`[]`) is done by `Reference`, in order to ensure that the underlying `Arc` outlive the operation. -It is highly DISCOURAGED to manipulate an `Arc` trough `UnsafePointer`. +It is highly DISCOURAGED to manipulate an `Arc` through `UnsafePointer`. Mojo's ASAP deletion policy ensure values are destroyed at last use. Do not unsafely dereference the `Arc` inner `UnsafePointer` field. See [Lifecycle](https://docs.modular.com/mojo/manual/lifecycle/).