about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-01-20 08:36:09 +0000
committerOliver Middleton <olliemail27@gmail.com>2017-01-20 08:36:09 +0000
commit543eca2eab970a7d8f460fcde30098d2edbc2b5e (patch)
treef7828d24215a89cd690760a779eff37cf028888d /src/doc/reference.md
parentb53d37479079d820290e21c424f0a6f9af112afe (diff)
downloadrust-543eca2eab970a7d8f460fcde30098d2edbc2b5e.tar.gz
rust-543eca2eab970a7d8f460fcde30098d2edbc2b5e.zip
linkchecker: Fix checking links which are just fragments
Also fix a typo which linkchecker should have caught.
Diffstat (limited to 'src/doc/reference.md')
-rw-r--r--src/doc/reference.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 4112b328f61..938a74a1621 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -650,15 +650,15 @@ Rust syntax is restricted in two ways:
 
 [RFC 550]: https://github.com/rust-lang/rfcs/blob/master/text/0550-macro-future-proofing.md
 
-## Procedrual Macros
+## Procedural Macros
 
-"Procedrual macros" are the second way to implement a macro. For now, the only
+"Procedural macros" are the second way to implement a macro. For now, the only
 thing they can be used for is to implement derive on your own types. See
 [the book][procedural macros] for a tutorial.
 
 Procedural macros involve a few different parts of the language and its
 standard libraries. First is the `proc_macro` crate, included with Rust,
-that defines an interface for building a procedrual macro. The 
+that defines an interface for building a procedural macro. The
 `#[proc_macro_derive(Foo)]` attribute is used to mark the the deriving
 function. This function must have the type signature:
 
@@ -3805,7 +3805,7 @@ impl From<i32> for String {
 }
 ```
 
-The notation `Self` in the impl refers to the implementing type: `String`. In another 
+The notation `Self` in the impl refers to the implementing type: `String`. In another
 example:
 
 ```