about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/rust.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md
index bf0e9dd090a..a4c2d269b00 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -484,6 +484,7 @@ include:
 
 * `fmt!` : format data into a string
 * `env!` : look up an environment variable's value at compile time
+* `file!`: return the path to the file being compiled
 * `stringify!` : pretty-print the Rust expression given as an argument
 * `include!` : include the Rust expression in the given file
 * `include_str!` : include the contents of the given file as a string