about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaic1 <506933131@qq.com>2022-08-22 15:18:18 +0800
committerOli Scherer <github35764891676564198441@oli-obk.de>2024-07-15 17:16:43 +0200
commit96bbce385f15bebbc074a974b757d640fecaa38e (patch)
tree6b6aa39c4e24010eae2fcae6f0d0220d1018bee2
parentc62dd210adadba4190d16043ab2c7be65603ce8a (diff)
Typo in src/mir/passes.md
accidently -> accidentally

Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
-rw-r--r--src/doc/rustc-dev-guide/src/mir/passes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/passes.md b/src/doc/rustc-dev-guide/src/mir/passes.md
index 9fbba045d4a..d03da15f1b3 100644
--- a/src/doc/rustc-dev-guide/src/mir/passes.md
+++ b/src/doc/rustc-dev-guide/src/mir/passes.md
@@ -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