about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>2021-06-29 13:26:26 +0200
committerGitHub <noreply@github.com>2021-06-29 13:26:26 +0200
commit283080ee9c418b2f4af67cb18f574286f3d402d2 (patch)
treee2a598f25f8a4c00a76ac19d30fbf29f3c20cb6d
parent6d4161bb16c9333212bbd137db4d9a59d2f9aef4 (diff)
downloadrust-283080ee9c418b2f4af67cb18f574286f3d402d2.tar.gz
rust-283080ee9c418b2f4af67cb18f574286f3d402d2.zip
Update RELEASES.md
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
-rw-r--r--RELEASES.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 3a8a20fcca1..1056359ec80 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -11,6 +11,11 @@ Language
   ```rust
   #![doc = include_str!("README.md")]
   ```
+  You can also use this to include auto-generated modules:
+  ```rust
+  #[path = concat!(env!("OUT_DIR"), "/generated.rs")]
+  mod generated;
+  ```
 
 - [You can now cast between unsized slice types (and types which contain
   unsized slices) in `const fn`.][85078]