From 8ec48c01707789e173b32842ef9dffc47808bb7e Mon Sep 17 00:00:00 2001 From: Jaic1 <506933131@qq.com> Date: Mon, 22 Aug 2022 15:18:18 +0800 Subject: [PATCH] Typo in src/mir/passes.md accidently -> accidentally Co-authored-by: Tshepang Mbambo --- src/mir/passes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir/passes.md b/src/mir/passes.md index 9fbba045..d03da15f 100644 --- a/src/mir/passes.md +++ b/src/mir/passes.md @@ -87,7 +87,7 @@ a `&'tcx Steal>`, 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