about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJakob Demler <jdemler@curry-software.com>2017-02-15 21:21:31 +0100
committerJakob Demler <jdemler@curry-software.com>2017-02-15 21:21:31 +0100
commit97451996e69a0bb8d98cfe77bd904d8033419ab9 (patch)
treea6f3ce9df998c23765f51fbc4637ccbeaa0bdb2e /src
parent9a39994ee3a6f825318af9d6ceb23ee3187c7888 (diff)
downloadrust-97451996e69a0bb8d98cfe77bd904d8033419ab9.tar.gz
rust-97451996e69a0bb8d98cfe77bd904d8033419ab9.zip
fixed whitespace issues
Diffstat (limited to 'src')
-rw-r--r--src/doc/book/src/procedural-macros.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/book/src/procedural-macros.md b/src/doc/book/src/procedural-macros.md
index e9777f9992f..468a8f904a4 100644
--- a/src/doc/book/src/procedural-macros.md
+++ b/src/doc/book/src/procedural-macros.md
@@ -209,7 +209,9 @@ Ok so now, let's compile `hello-world`. Executing `cargo run` now yields:
 Hello, World! My name is FrenchToast
 Hello, World! My name is Waffles
 ```
+
 ## Custom Attributes
+
 In some cases it might make sense to allow users some kind of configuration.
 For our example the user might want to overwrite the name that is printed in the `hello_world()` method.
 
@@ -240,8 +242,8 @@ pub fn hello_world(input: TokenStream) -> TokenStream
 
 Multiple attributes can be specified that way.
 
-
 ## Raising Errors
+
 Let's assume that we do not want to accept `Enums` as input to our custom derive method.
 
 This condition can be easily checked with the help of `syn`.