Skip to content

Commit

Permalink
[External] [Documentation] Fix typo in arc.mojo (#43054)
Browse files Browse the repository at this point in the history
[External] [Documentation] Fix typo in arc.mojo

trough -> through

Co-authored-by: Taylor <taylorpool.27@gmail.com>
Closes #3192
MODULAR_ORIG_COMMIT_REV_ID: 0d8654dadd68b8b802aceab4f9abf522617230ec
  • Loading branch information
taylorpool authored and modularbot committed Sep 13, 2024
1 parent a89b485 commit 3f237d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/src/memory/arc.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down

0 comments on commit 3f237d2

Please sign in to comment.