diff options
| author | SOFe <sofe2038@gmail.com> | 2019-08-08 18:05:10 +0800 |
|---|---|---|
| committer | SOFe <sofe2038@gmail.com> | 2019-08-08 18:05:10 +0800 |
| commit | 403292db355c409d01c2e65bc6c1fe14cb35922b (patch) | |
| tree | 136a93cc12f1bf34f03ed8fc2d6e2d5c1ac23783 /src | |
| parent | 04523404bcae5904fe29a54122040a7101f5c652 (diff) | |
| download | rust-403292db355c409d01c2e65bc6c1fe14cb35922b.tar.gz rust-403292db355c409d01c2e65bc6c1fe14cb35922b.zip | |
Improved documentation for compile_error!()
Fixes #63375
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/macros.rs | 2 |
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 /// |
