Skip to content

Commit

Permalink
auto merge of rust-lang#11674 : indirect/rust/doc_file, r=alexcrichton
Browse files Browse the repository at this point in the history
Found out about `file!` today from o11c in IRC.
  • Loading branch information
bors committed Jan 21, 2014
2 parents 80a2306 + ec2b8c5 commit e65a8b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/rust.md
Expand Up @@ -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
Expand Down

0 comments on commit e65a8b8

Please sign in to comment.