Skip to content

Commit

Permalink
Typo in src/mir/passes.md
Browse files Browse the repository at this point in the history
accidently -> accidentally

Co-authored-by: Tshepang Mbambo <[email protected]>
  • Loading branch information
2 people authored and oli-obk committed Jul 15, 2024
1 parent 6bbd1c4 commit 8ec48c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mir/passes.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ a `&'tcx Steal<Body<'tcx>>`, allocated using `tcx.alloc_steal_mir()`.
This indicates that the result may be **stolen** by a subsequent query – this is an
optimization to avoid cloning the MIR. Attempting to use a stolen
result will cause a panic in the compiler. Therefore, it is important
that you do not accidently read from these intermediate queries without
that you do not accidentally read from these intermediate queries without
the consideration of the dependency in the MIR processing pipeline.

Because of this stealing mechanism, some care must be taken to
Expand Down

0 comments on commit 8ec48c0

Please sign in to comment.