about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-08 16:33:43 +0200
committerGitHub <noreply@github.com>2019-08-08 16:33:43 +0200
commitbba6dda2ad2ccfc43b353b0685de16a0d425e6e2 (patch)
tree2f836d37541dec87c02901ae492d3194afad5a6b
parent499887ffb9cb500c00c7e191d7e6ca67e1e6498f (diff)
parent403292db355c409d01c2e65bc6c1fe14cb35922b (diff)
downloadrust-bba6dda2ad2ccfc43b353b0685de16a0d425e6e2.tar.gz
rust-bba6dda2ad2ccfc43b353b0685de16a0d425e6e2.zip
Rollup merge of #63377 - SOF3:issues/63375, r=Centril
Improved documentation for compile_error!()

Fixes #63375
-rw-r--r--src/libcore/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index 37cc71bff62..09d2331b60f 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -680,7 +680,7 @@ pub(crate) mod builtin {
     ///
     /// This macro should be used when a crate uses a conditional compilation strategy to provide
     /// better error messages for erroneous conditions. It's the compiler-level form of [`panic!`],
-    /// which emits an error at *runtime*, rather than during compilation.
+    /// but emits an error during *compilation* rather than at *runtime*.
     ///
     /// # Examples
     ///