Skip to content

Commit 001737e

Browse files
willtebbuttmhauru
andauthored
Apply suggestions from code review
Co-authored-by: Markus Hauru <[email protected]>
1 parent 0ef069d commit 001737e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/copyable_task.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ the transformed IR would be something like
247247
ref_for_%5[] = %6
248248
```
249249
Setting things up in this manner ensures that an independent copy is made by simply copying
250-
all of the refs. A `deepcopy` is required for correctness as, while the refs to not alias
250+
all of the refs. A `deepcopy` is required for correctness as, while the refs do not alias
251251
one another (by construction), their contents might. For example, two refs may contain the
252252
same `Array`, and in general the behaviour of a function depends on this relationship.
253253
@@ -931,7 +931,7 @@ function derive_copyable_task_ir(ir::BBCode)::Tuple{BBCode,Tuple,Vector{Any}}
931931
# This `Any` only affects the return type of the function being derived
932932
# here. Importantly, it does not affect the type stability of subsequent
933933
# statements in this function. As a result, the impact ought to be
934-
# reasoanbly limited.
934+
# reasonably limited.
935935
push!(possible_produce_types, Any)
936936

937937
# Create a new basic block from the existing statements, since all new

0 commit comments

Comments
 (0)