about summary refs log tree commit diff
path: root/src/libstd/macros.rs
diff options
context:
space:
mode:
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
commit34576da9355b5de993e3d08a317f00240f53c5b1 (patch)
treedc391170868cba2e68a464adb79a7c4c73979183 /src/libstd/macros.rs
parentb374c53ae6af8c64340ef98c69335d21ce2f8334 (diff)
downloadrust-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.rs14
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