about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/macros.rs
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 22:02:52 +0200
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 22:02:52 +0200
commit677357d32bd402ff1096803cb00b52124204af08 (patch)
treea0fba8dabec8265b98ad441f96d09c4603883a77 /compiler/rustc_middle/src/macros.rs
parenta73288371e3fa0a610fbc11e7e8418017bdfde42 (diff)
downloadrust-677357d32bd402ff1096803cb00b52124204af08.tar.gz
rust-677357d32bd402ff1096803cb00b52124204af08.zip
Fix typos in compiler
Diffstat (limited to 'compiler/rustc_middle/src/macros.rs')
-rw-r--r--compiler/rustc_middle/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/macros.rs b/compiler/rustc_middle/src/macros.rs
index a8d71ce030c..89014f62d4d 100644
--- a/compiler/rustc_middle/src/macros.rs
+++ b/compiler/rustc_middle/src/macros.rs
@@ -1,6 +1,6 @@
 /// A macro for triggering an ICE.
 /// Calling `bug` instead of panicking will result in a nicer error message and should
-/// therefore be prefered over `panic`/`unreachable` or others.
+/// therefore be preferred over `panic`/`unreachable` or others.
 ///
 /// If you have a span available, you should use [`span_bug`] instead.
 ///