about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-01-19 15:15:57 -0800
committerAndre Arko <andre@arko.net>2014-01-19 15:15:57 -0800
commitec2b8c59a7bdbe05b99a7a8470e04c18f20c1958 (patch)
tree234a7a8dbf0c1b2726ef11fc5c8d328264f3728d
parent18061e85b79915deb9f04c78aac7b63b837432dd (diff)
downloadrust-ec2b8c59a7bdbe05b99a7a8470e04c18f20c1958.tar.gz
rust-ec2b8c59a7bdbe05b99a7a8470e04c18f20c1958.zip
document file!
-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