diff options
| author | Артём Павлов [Artyom Pavlov] <newpavlov@gmail.com> | 2016-10-21 18:03:22 +0300 |
|---|---|---|
| committer | Артём Павлов [Artyom Pavlov] <newpavlov@gmail.com> | 2016-10-21 18:03:22 +0300 |
| commit | 34576da9355b5de993e3d08a317f00240f53c5b1 (patch) | |
| tree | dc391170868cba2e68a464adb79a7c4c73979183 /src/libstd/macros.rs | |
| parent | b374c53ae6af8c64340ef98c69335d21ce2f8334 (diff) | |
| download | rust-34576da9355b5de993e3d08a317f00240f53c5b1.tar.gz rust-34576da9355b5de993e3d08a317f00240f53c5b1.zip | |
Small docstring changes for include_bytes and include_str
Diffstat (limited to 'src/libstd/macros.rs')
| -rw-r--r-- | src/libstd/macros.rs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 006853063f5..d801fa028cc 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -381,9 +381,11 @@ pub mod builtin { /// Includes a utf8-encoded file as a string. /// + /// The file is located relative to the current file. (similarly to how + /// modules are found) + /// /// This macro will yield an expression of type `&'static str` which is the - /// contents of the filename specified. The file is located relative to the - /// current file (similarly to how modules are found), + /// contents of the file. /// /// # Examples /// @@ -396,9 +398,11 @@ pub mod builtin { /// Includes a file as a reference to a byte array. /// + /// The file is located relative to the current file. (similarly to how + /// modules are found) + /// /// This macro will yield an expression of type `&'static [u8; N]` which is - /// the contents of the filename specified. The file is located relative to - /// the current file (similarly to how modules are found), + /// the contents of the file. /// /// # Examples /// @@ -454,7 +458,7 @@ pub mod builtin { /// Parse a file as an expression or an item according to the context. /// - /// The file is located relative to the current file (similarly to how + /// The file is located relative to the current file. (similarly to how /// modules are found) /// /// Using this macro is often a bad idea, because if the file is |
