Skip to content

Commit 8ec48c0

Browse files
Jaic1tshepang
authored andcommitted
Typo in src/mir/passes.md
accidently -> accidentally Co-authored-by: Tshepang Mbambo <[email protected]>
1 parent 6bbd1c4 commit 8ec48c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/mir/passes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ a `&'tcx Steal<Body<'tcx>>`, allocated using `tcx.alloc_steal_mir()`.
8787
This indicates that the result may be **stolen** by a subsequent query – this is an
8888
optimization to avoid cloning the MIR. Attempting to use a stolen
8989
result will cause a panic in the compiler. Therefore, it is important
90-
that you do not accidently read from these intermediate queries without
90+
that you do not accidentally read from these intermediate queries without
9191
the consideration of the dependency in the MIR processing pipeline.
9292

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

0 commit comments

Comments
 (0)