diff options
| author | bors <bors@rust-lang.org> | 2014-01-20 21:26:22 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-20 21:26:22 -0800 |
| commit | e65a8b88cac97bdc01ee01a099915d861406edd6 (patch) | |
| tree | abb8aa2d44b272820b055e158dabd00c9f0498f1 | |
| parent | 80a2306aee6bb6ccde8692521c32eb96fe942991 (diff) | |
| parent | ec2b8c59a7bdbe05b99a7a8470e04c18f20c1958 (diff) | |
| download | rust-e65a8b88cac97bdc01ee01a099915d861406edd6.tar.gz rust-e65a8b88cac97bdc01ee01a099915d861406edd6.zip | |
auto merge of #11674 : indirect/rust/doc_file, r=alexcrichton
Found out about `file!` today from o11c in IRC.
| -rw-r--r-- | doc/rust.md | 1 |
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 |
